Cache is not for images or any other content. Move them to webroot.
On Oct 8, 10:46 pm, Ziki <[email protected]> wrote:
> Hi,
>
> how to view image from cache folder, i have url in database for the
> image, and when i want them view i got error.
>
> I have link like this: /home/hrvatski/public_html/cake/app/tmp/cache/
> thumbs/
> e6b3c3fca1c6c496727147bb07e6595b_59de3ade3f1df7e79525167bd617bfb8.jpg
>
> i put them into <img src=" /home/hrvatski/public_html/cake/app/tmp/
> cache/thumbs/
> e6b3c3fca1c6c496727147bb07e6595b_59de3ade3f1df7e79525167bd617bfb8.jpg" /
>
>
>
> doesn't work,
>
> i put <img src=" /app/tmp/cache/thumbs/
> e6b3c3fca1c6c496727147bb07e6595b_59de3ade3f1df7e79525167bd617bfb8.jpg" /
>
>
>
> but still error "Missing controller".
>
> I know what cause that error, but how to view direct image from cache
> folder?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---