spatie / laravel-glide

Easily convert images with Glide
https://freek.dev/2015/12/easily-convert-images-with-glide/
MIT License
424 stars 51 forks source link

ErrorException in GlideImage.php line 30 #64

Closed TnCoders closed 7 years ago

TnCoders commented 7 years ago

After my issue #62 i updated to verion 3.1.0

I have this in my Config ` return [

/*
 * The driver that will be used to create images. Can be set to gd or imagick.
 */
'driver' => 'gd',

/*
 * Glide will search for images in this directory
 *
 */
'source' => [
    'path' => storage_path('images'),
],

/*
 * The directory Glide will use to store it's cache
 * A .gitignore file will be automatically placed in this directory
 * so you don't accidentally end up committing these images
 *
 */
'cache' => [
    'path' => storage_path('glide/cache'),
],

/*
 * URLs to generated images will start with this string
 *
 */
'baseURL' => 'img',

/*
 * The maximum allowed total image size in pixels
 */
'maxSize' => 2000 * 2000,

/*
 * Glide has a feature to sign each generated URL with
 * a key to avoid the visitors of your site to alter the URL
 * manually
 */
'useSecureURLs' => true,

]; `

I have image Called foot.jpg in Storage/App/Images

<img src="{{ GlideImage::create('foot.jpg')->modify(['w'=> 200, 'filt'=>'greyscale']) }}" />

but i have this error:

erreur_exception

sebastiandedeyne commented 7 years ago

Are you still experiencing this error?

Gonna close this issue for now since it's been inactive for a while. Feel free to reopen if necessary!

AmericasEngineer commented 7 years ago

Im experiencing the same issue.