That's because you're using windows. You can convert backslashes to
slash without trouble, windows handle both for a while now.

But, this will not work yet because you're using file system path
instead of URI for image src. At the end you should have image written
like this <img src="uploads/image1.jpg" />

On Dec 16, 8:08 am, dziobacz <aaabbbcccda...@gmail.com> wrote:
> <img src="/uploads/<?php echo $z->getThumb() ?>" />
> gives:
> <img src="/uploads/image1.jpg" />
>
> <img src="<?php echo sfConfig::get('sf_upload_dir') ?>/<?php echo 
> $z->getThumb() ?>" />
>
> gives:
> <img src="C:\Program Files\WebServ\httpd\cms\web\uploads/image1.jpg" /
>
>
>
> and I don't see a picture - sfConfig::get('sf_upload_dir') gives
> backslash, but it should be slash !! What can I do with that ??

--

You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.


Reply via email to