I assume your webservers root path is /var/www
Your first path "/civil/web/uploads/assets/abc.jpg" is absolute to
this path, so it works.
Your second path "var/www/civil/web/uploads/assets/abc.jpg" is
relative. The corresponding absolute path ist "var/www/var/www/civil/
web/uploads/assets/abc.jpg" which is obviously wrong.

On 10 Aug., 13:30, sunny <asim...@gmail.com> wrote:
> how to display uploaded image in template!
>
> i used <img width="200px"  src="/civil/web/uploads/assets/abc.jpg"/>
>
> it works but
>
> <img width="200px"  src="var/www/civil/web/uploads/assets/abc.jpg"/>
>
> this not works!!
>
> need help
>
> new to symfony
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@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