Why not using the html helper in view?

 $html->image('photo/HawaiiSurf.jpg');


Andrea

On Jan 16, 5:40 pm, Stefano Manfredini <[email protected]>
wrote:
> On 16 Gen, 11:48, g4b0 <[email protected]> wrote:
>
> > Hi all,
> > I'm trying to put some images in /app/webroot/img/photo, but the
> > following html doesn't display anything:
>
> > <img src="/img/photo/HawaiiSurf.jpg" alt="" />
>
> Uhm, just a simple doubt: did you try <img src="photo/HawaiiSurf.jpg"
> alt="" /> ?
> (are you using the html helper to generate this?)
>
> IIRC the dafult config is: img paths are relative to "app/webroot/img"
>
> Stefano
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to