I have no idea how you get that path you echo, but you may try the public_path helper function.
http://www.symfony-project.org/api/1_2/UrlHelper#method_public_path On Mon, Aug 10, 2009 at 14:29, asim nizam<asim...@gmail.com> wrote: > Than please tell me solution. > > On Mon, Aug 10, 2009 at 6:12 PM, asim nizam <asim...@gmail.com> wrote: >> >> ok thanks >> On Mon, Aug 10, 2009 at 6:11 PM, Gábor Fási <maerl...@gmail.com> wrote: >>> >>> You must have the public path over there. Assuming your webroot is >>> /var/www, with this src your server is looking for a file in >>> /var/www/var/www/civil/web/uploads/assets. The path you echo there >>> should be /vicil/web/uploads/assets/abc.jp >>> Just like Eric told you already. >>> >>> On Mon, Aug 10, 2009 at 14:04, asim nizam<asim...@gmail.com> wrote: >>> > >>> > >>> > sorry it is >>> > >>> > <img width="200px" src="/var/www/civil/web/ >>> > uploads/assets/abc.jpg"/> >>> > >>> > i have stores file with this path /var/www/civil/web/ >>> > uploads/assets/abc.jpg >>> > >>> > i simply want to display >>> > >>> > thanks >>> > >>> > >>> > >>> >> ause 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 >>> >> -~----------~----~----~----~------~----~------~--~--- >>> >> >>> > >>> > >>> > > >>> > >>> >>> > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---