http://www.symfony-project.org/api/1_2/AssetHelper#method_image_path

use it like `image_path("image_name.gif")`

On Sun, Dec 27, 2009 at 13:45, 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].
> 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.


Reply via email to