nielse63 / php-image-cache

Image Cache is a very simple PHP class that accepts an image source and will compress and cache the file, move it to a new directory, and returns the new source for the image.
http://nielse63.github.io/php-image-cache
Other
457 stars 105 forks source link

Image must writable error #25

Open firepro20 opened 8 years ago

firepro20 commented 8 years ago

../images must writable! is being displayed on the php page

This is the line of code which I believe is giving the problem

$cached_src_one = $imagecache->cache( '../images/background.jpg' );

I am running the php page from where the images folder is found.

RockDaFox commented 7 years ago

Hello ! Same bug, any ideas ? My folder is under chmod 777...

JansonWong commented 7 years ago

Please note below directory: dirname(FILE) . '/images/cached' You need to have those folders