First. Chmod and Chown the img folder, maybe you're not authorized to
view the images.

Then, you should check your htaccess configuration. Every request to
your app, will be routed (by /.htaccess and app/.htaccess) to /app/
webroot/.htaccess.

Can't figure out anything else right now.

Lucky.

On Aug 5, 12:02 am, Rob <[email protected]> wrote:
> 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