from what I recollect, I only make use of a relative path such as : /images/image_name.gif
Try it and let us know if it works for ya! On Sun, Dec 27, 2009 at 6:15 PM, mirfan <[email protected]> wrote: > hi, > is that not awkward that i have to write full path of the image that i > wand to display like see the following > > <img src="/demo_project/web/images/image_name.gif" /> > > if i have to change the directory of the project that will be a > blunder because i will have to change all the img path, > is there any other way like the one: > echo url_for('controller/action') > i need help for symfony 1.2 > any help will be highly appreciated. > Regards > > -- > > You received this message because you are subscribed to the Google Groups > "symfony users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<symfony-users%[email protected]> > . > 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en.
