{"action":"created","issue":{"url":"https://api.github.com/repos/thephpleague/glide/issues/108","labels_url":"https://api.github.com/repos/thephpleague/glide/issues/108/labels{/name}","comments_url":"https://api.github.com/repos/thephpleague/glide/issues/108/comments","events_url":"https://api.github.com/repos/thephpleague/glide/issues/108/events","html_url":"https://github.com/thephpleague/glide/issues/108","id":118561560,"number":108,"title":"NotReadableException in Decoder.php line 21: Unable to read image from file (/tmp/random)","user":{"login":"vuk","id":1298799,"avatar_url":"https://avatars.githubusercontent.com/u/1298799?v=3","gravatar_id":"","url":"https://api.github.com/users/vuk","html_url":"https://github.com/vuk","followers_url":"https://api.github.com/users/vuk/followers","following_url":"https://api.github.com/users/vuk/following{/other_user}","gists_url":"https://api.github.com/users/vuk/gists{/gist_id}","starred_url":"https://api.github.com/users/vuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vuk/subscriptions","organizations_url":"https://api.github.com/users/vuk/orgs","repos_url":"https://api.github.com/users/vuk/repos","events_url":"https://api.github.com/users/vuk/events{/privacy}","received_events_url":"https://api.github.com/users/vuk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-24T09:01:49Z","updated_at":"2015-12-22T20:36:12Z","closed_at":null,"body":"Here is my setup:\r\n\r\nService provider: \r\n\r\n    $this->app->singleton('League\\Glide\\Server', function ($app) {\r\n\r\n            $filesystem = $app->make('League\\Flysystem\\FilesystemInterface');\r\n            return \\League\\Glide\\ServerFactory::create([\r\n                'source' => $filesystem,\r\n                'cache' => storage_path().'/app/.cache',\r\n            ]);\r\n        });\r\n\r\nIn controller \r\n\r\n    public function output(Request $request, GlideServer $glide)\r\n    {\r\n        $glide->getImageResponse($request);\r\n    }\r\n\r\nAnd in routes\r\n\r\n    get('/img/{path}', 'ImageController@output')->where('path', '([A-z\\d-\\/_.]+)?');\r\n\r\nNow when I go to load image, I get this error \r\n\r\n    NotReadableException in Decoder.php line 21:\r\n    Unable to read image from file (/tmp/GlideqGirrI).\r\n\r\n    in Decoder.php line 21\r\n    at Decoder->initFromPath('/tmp/GlideqGirrI') in AbstractDecoder.php line 293\r\n    at AbstractDecoder->init('/tmp/GlideqGirrI') in AbstractDriver.php line 64\r\n    at AbstractDriver->init('/tmp/GlideqGirrI') in ImageManager.php line 50\r\n    at ImageManager->make('/tmp/GlideqGirrI') in Api.php line 85\r\n    at Api->run(object(Request), '/tmp/GlideqGirrI') in Server.php line 316\r\n    at Server->makeImage(object(Request)) in Server.php line 268\r\n    at Server->getImageResponse(object(Request)) in ImageController.php line 13\r\n    at ImageController->output(object(Request), object(Server), 'galleries/655522ab4e576b7')\r\n    at call_user_func_array(array(object(ImageController), 'output'), array(object(Request),     object(Server), 'path' => 'galleries/655522ab4e576b7')) in Controller.php line 246"},"comment":{"url":"https://api.github.com/repos/thephpleague/glide/issues/comments/166723868","html_url":"https://github.com/thephpleague/glide/issues/108#issuecomment-166723868","issue_url":"https://api.github.com/repos/thephpleague/glide/issues/108","id":166723868,"user":{"login":"reinink","id":882133,"avatar_url":"https://avatars.githubusercontent.com/u/882133?v=3","gravatar_id":"","url":"https://api.github.com/users/reinink","html_url":"https://github.com/reinink","followers_url":"https://api.github.com/users/reinink/followers","following_url":"https://api.github.com/users/reinink/following{/other_user}","gists_url":"https://api.github.com/users/reinink/gists{/gist_id}","starred_url":"https://api.github.com/users/reinink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reinink/subscriptions","organizations_url":"https://api.github.com/users/reinink/orgs","repos_url":"https://api.github.com/users/reinink/repos","events_url":"https://api.github.com/users/reinink/events{/privacy}","received_events_url":"https://api.github.com/users/reinink/received_events","type":"User","site_admin":false},"created_at":"2015-12-22T20:36:12Z","updated_at":"2015-12-22T20:36:12Z","body":"Hey, just catching up on some issues. Were you able to work out what was wrong here?"}}