[symfony-users] Re: how to display image in template

2009-08-22 Thread asim nizam
Yes when i visit localhost/civil/web/uploads/assets/abc.jpg i see the image!! On Fri, Aug 21, 2009 at 7:13 PM, Gábor Fási maerl...@gmail.com wrote: The /var/www... path is the full path on your server, you cannot access it via that one. Assuming your webroot is /var/www the path you need

[symfony-users] Re: how to display image in template

2009-08-22 Thread asim nizam
Can any body tell me about file uploading and how to change its absolute path when saving in DB so i can display image /civil/web/uploads/assets/abc.jpg --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users

[symfony-users] Re: how to display image in template

2009-08-21 Thread DEEPAK BHATIA
I think you need to give the path relative to the htdocs directory for example your project is crb in htdocs. /opt/lampp/htdocs/crb/web/images/abc.jpg You can give path as /crb/web/images Best Regards Deepak Bhatia On Fri, Aug 21, 2009 at 5:50 PM, sunnyasim...@gmail.com wrote: i have image

[symfony-users] Re: how to display image in template

2009-08-21 Thread Gábor Fási
The /var/www... path is the full path on your server, you cannot access it via that one. Assuming your webroot is /var/www the path you need is /civil/web/uploads/assets/abc.jpg, this is how you can access it via the browser. If you visit localhost/civil/web/uploads/assets/abc.jpg do you see the

[symfony-users] Re: how to display image in template

2009-08-21 Thread Gareth McCumskey
You can read all about how symfony deals with application paths on the server by reading the book's section on sfConfig :) - Original Message - From: sunny asim...@gmail.com To: symfony users symfony-users@googlegroups.com Sent: Friday, August 21, 2009 2:20:02 PM GMT +02:00 Harare /