The folder that the html helper points to for images, javascript and
css files is the webroot folder located at cakeroot->app->webroot. So
the img folder that you want to have pasty.jpg in is cake->app-
>webroot->img
I assume there is a way to change where cake looks for the img folder
although I am not the man with that answer.
~stillboy
On May 14, 3:04 am, Dovdimus Prime <[EMAIL PROTECTED]> wrote:
> Hi all
>
> I'm trying to use html->image to place an image on the page like this:
>
> <?php echo $html->image("pasty.jpg", array(), false); ?>
>
> This results in rendered html like this:
>
> <img src="/cake/img/pasty.jpg">
>
> This image doesn't display, because I have no idea where this folder
> is in the directory structure (in fact, the folder doesn't exist).
>
> What is going on?
>
> Thanks
>
> David
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---