Yes, put it in the webroot, img folder or anywhere else in the webroot, and
before displaying sometimes you need to empty the cache from your browser
to display it instantly.


2012/9/25 Maliko V <malikovinc...@gmail.com>

> Hello,
>
> the way I did it was to create the img folder in the app/webroot folder.
> Then regardless of where you insert the image i call the image using the
> img tag  like this < img src="/img/name_of_the_file" /> or you can use the
> image function by doing this : <?php echo
> $this->Html->image('name_of_the_file'); ?> . Just make sure that your image
> is stored in app/webroot/img/
>
> Hope this helps
>
> VM
>
> Sent from iPhone smartphone
>
> On 2012-09-24, at 2:16 PM, ShipSank <sitc...@yahoo.com> wrote:
>
> I am having a similar problem.  I just created the '/img' folder but no
> matter what I put for the path in the view file (index.ctp), I cannot get
> the images to display.  They just come out blank (and show the 'alt' text
> instead).
>
> Super frustrating!  :>)
>
> Any ideas?
>
> --
> Like Us on FacekBook https://www.facebook.com/CakePHP
> Find us on Twitter http://twitter.com/CakePHP
>
> ---
> 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+unsubscr...@googlegroups.com.
> Visit this group at http://groups.google.com/group/cake-php?hl=en.
>
>
>
>  --
> Like Us on FacekBook https://www.facebook.com/CakePHP
> Find us on Twitter http://twitter.com/CakePHP
>
> ---
> 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+unsubscr...@googlegroups.com.
> Visit this group at http://groups.google.com/group/cake-php?hl=en.
>
>
>



-- 
*Ivan Rimac***
mail: ivn...@gmail.com
*tel: +385 95 555 99 66*
*http://ivanrimac.com*

-- 
Like Us on FacekBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
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+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.


Reply via email to