kevbaldwyn / image

Responsive images and on the fly image sizing for laravel 4 and fuel php
23 stars 13 forks source link

Silently Failing #7

Closed kevinkhill closed 9 years ago

kevinkhill commented 10 years ago

I was thinking about adding some notes to describe creating the folder for the image cache, and setting it to be writable. The library silently fails (no exceptions) when the folder is not writable, and all you get is a broken link on the page.

kevbaldwyn commented 10 years ago

The image cache is part of the normal laravel storage which should be available and writeable by default. However, a better option would be to try and create the dir and unable to do so throw an exception.

kevinkhill commented 10 years ago

I had the storage/cache folder, but I had to create the images folder. It must not have inherited permissions