Try this:
manually put an image in this folder, set a link to it in your view.
Is this image displayed?

Anja

Am 05.08.2011 05:02, schrieb Rob:
0 down vote favorite


I cannot, for the life of me, get my images to show up in my view. I'm
trying to display the thumbnails I createed, but I'm having no luck. I
just get broken images with everything I try. I am currently using the
image helper to display my images, but I still get broken images.

My Directory Structure is like so

webroot>  img>  project_images>  thumbs

When my view renders echo $this->Html->image('project_images/
thumbs/' . $imageName); the image tag looks like this

<img alt="" src="/img/project_images/thumbs/wordherd-1_thumb.jpg">

which looks right to me...but its not even rendering anything. When I
look in firebug the image tags are greyed out.

Anyone have any ideas? Any help is appreciated, thanks!


--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to