{"action":"created","issue":{"url":"https://api.github.com/repos/spatie/laravel-medialibrary/issues/1092","repository_url":"https://api.github.com/repos/spatie/laravel-medialibrary","labels_url":"https://api.github.com/repos/spatie/laravel-medialibrary/issues/1092/labels{/name}","comments_url":"https://api.github.com/repos/spatie/laravel-medialibrary/issues/1092/comments","events_url":"https://api.github.com/repos/spatie/laravel-medialibrary/issues/1092/events","html_url":"https://github.com/spatie/laravel-medialibrary/issues/1092","id":321202530,"node_id":"MDU6SXNzdWUzMjEyMDI1MzA=","number":1092,"title":"Placeholder image before queue finishes generating images","user":{"login":"chris-faulkner","id":25483015,"node_id":"MDQ6VXNlcjI1NDgzMDE1","avatar_url":"https://avatars1.githubusercontent.com/u/25483015?v=4","gravatar_id":"","url":"https://api.github.com/users/chris-faulkner","html_url":"https://github.com/chris-faulkner","followers_url":"https://api.github.com/users/chris-faulkner/followers","following_url":"https://api.github.com/users/chris-faulkner/following{/other_user}","gists_url":"https://api.github.com/users/chris-faulkner/gists{/gist_id}","starred_url":"https://api.github.com/users/chris-faulkner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chris-faulkner/subscriptions","organizations_url":"https://api.github.com/users/chris-faulkner/orgs","repos_url":"https://api.github.com/users/chris-faulkner/repos","events_url":"https://api.github.com/users/chris-faulkner/events{/privacy}","received_events_url":"https://api.github.com/users/chris-faulkner/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-05-08T14:08:49Z","updated_at":"2018-06-07T08:04:47Z","closed_at":"2018-05-09T17:09:00Z","author_association":"NONE","body":"Hi, thanks for the fantastic package, I wonder if you could advise on a simple way to make a placeholder for this situation. I found a previous issue which looked like it solved it but couldn't get it to work #1017 \r\n\r\nI set queue to Database and uploaded an image (which has 2 conversions). I am not running the queue to process the images but it still returns the url for the conversion which doesn't exist:\r\n`dd($this->getFirstMediaUrl('images', 'thumb'));`\r\n\r\nThis is what it dumps out as the url:\r\n`\"/media/14/conversions/Act_Pullup4-%28Custom%29-thumb.jpg\"`\r\n\r\nThis shows no conversions are made yet in the folder:\r\n![screenshot 2018-05-07 23 46 36](https://user-images.githubusercontent.com/25483015/39728948-4c117a2c-5251-11e8-8078-46a6d2241249.png)\r\nSo it's trying to load the conversion but it won't exist until the queue processes it.\r\n\r\nI'm probably doing this wrong, but if you could spare a moment to correct me it would be very helpful.\r\nPerhaps I need to check if the file exists separately?\r\n\r\nThanks for the great package!\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/spatie/laravel-medialibrary/issues/comments/395330679","html_url":"https://github.com/spatie/laravel-medialibrary/issues/1092#issuecomment-395330679","issue_url":"https://api.github.com/repos/spatie/laravel-medialibrary/issues/1092","id":395330679,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NTMzMDY3OQ==","user":{"login":"Skullbock","id":1104083,"node_id":"MDQ6VXNlcjExMDQwODM=","avatar_url":"https://avatars2.githubusercontent.com/u/1104083?v=4","gravatar_id":"","url":"https://api.github.com/users/Skullbock","html_url":"https://github.com/Skullbock","followers_url":"https://api.github.com/users/Skullbock/followers","following_url":"https://api.github.com/users/Skullbock/following{/other_user}","gists_url":"https://api.github.com/users/Skullbock/gists{/gist_id}","starred_url":"https://api.github.com/users/Skullbock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Skullbock/subscriptions","organizations_url":"https://api.github.com/users/Skullbock/orgs","repos_url":"https://api.github.com/users/Skullbock/repos","events_url":"https://api.github.com/users/Skullbock/events{/privacy}","received_events_url":"https://api.github.com/users/Skullbock/received_events","type":"User","site_admin":false},"created_at":"2018-06-07T08:04:47Z","updated_at":"2018-06-07T08:04:47Z","author_association":"NONE","body":"I noticed that too.\r\n\r\nCreated a PR that seems to fix it:\r\nhttps://github.com/spatie/laravel-medialibrary/pull/1138"}}
{"actor":{"display_login":"Skullbock"}}