Saturday, January 3, 2009

Re: show image from layout

On Sat, Jan 3, 2009 at 1:21 PM, Mike Bernat <bernat3@gmail.com> wrote:
> You can also use the image method from the html helper.
>
> echo $html->image('my_logo.jpg');
>

Yes, I should have mentioned that. I was just trying to clarify the
paths issue. I suspect the OP is confused by the location of the
layouts dir, thinking of it as a normal directory under root from
whence HTML pages are served for a site.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: