{"action":"closed","issue":{"url":"https://api.github.com/repos/tomitrescak/meteor-uploads/issues/191","labels_url":"https://api.github.com/repos/tomitrescak/meteor-uploads/issues/191/labels{/name}","comments_url":"https://api.github.com/repos/tomitrescak/meteor-uploads/issues/191/comments","events_url":"https://api.github.com/repos/tomitrescak/meteor-uploads/issues/191/events","html_url":"https://github.com/tomitrescak/meteor-uploads/issues/191","id":122673713,"number":191,"title":"Resized thumbnails not display, throwing 404","user":{"login":"nonissue","id":5218392,"avatar_url":"https://avatars.githubusercontent.com/u/5218392?v=3","gravatar_id":"","url":"https://api.github.com/users/nonissue","html_url":"https://github.com/nonissue","followers_url":"https://api.github.com/users/nonissue/followers","following_url":"https://api.github.com/users/nonissue/following{/other_user}","gists_url":"https://api.github.com/users/nonissue/gists{/gist_id}","starred_url":"https://api.github.com/users/nonissue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nonissue/subscriptions","organizations_url":"https://api.github.com/users/nonissue/orgs","repos_url":"https://api.github.com/users/nonissue/repos","events_url":"https://api.github.com/users/nonissue/events{/privacy}","received_events_url":"https://api.github.com/users/nonissue/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-17T06:56:00Z","updated_at":"2016-02-02T07:24:07Z","closed_at":"2016-02-02T07:24:07Z","body":"I have my meteor-upload server set to generate thumbnails when an image is uploaded. In my finished callback for meteor-upload-server (in init), it calls a method which generates an array of objects with each size of thumbnail for the image and a corresponding url, and then inserts the image into an image mongo collection. \r\n\r\nI have a cursor clientside set to display the image thumbnail on the same page as my drop zone. However, when an image is uploaded and the document is inserted into the image collection, it appears client side as a broken image, regardless of how many times I refresh. If I visit the url of the image directly, I get a \"404 image not found\" message, but if I refresh while on the direct url (http://localhost:3000/uploads/testpost/200/image.jpg) of the image, it appears, and then it will appear on my site when I go back.\r\n\r\nThe original files I upload display with no problem, so I assume this is a bug with the 404 fs.lstat method and imagemagick? If I set a meteor sleep server side, it resolves the issue, but is not an ideal solution. Is there a way to tie into a callback after imagemagick finishes resizing?"}}