{"action":"created","issue":{"url":"https://api.github.com/repos/aelvan/Imager-Craft/issues/14","labels_url":"https://api.github.com/repos/aelvan/Imager-Craft/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/aelvan/Imager-Craft/issues/14/comments","events_url":"https://api.github.com/repos/aelvan/Imager-Craft/issues/14/events","html_url":"https://github.com/aelvan/Imager-Craft/issues/14","id":126243831,"number":14,"title":"getimagesize(): Read error!","user":{"login":"katrinkerber","id":818635,"avatar_url":"https://avatars.githubusercontent.com/u/818635?v=3","gravatar_id":"","url":"https://api.github.com/users/katrinkerber","html_url":"https://github.com/katrinkerber","followers_url":"https://api.github.com/users/katrinkerber/followers","following_url":"https://api.github.com/users/katrinkerber/following{/other_user}","gists_url":"https://api.github.com/users/katrinkerber/gists{/gist_id}","starred_url":"https://api.github.com/users/katrinkerber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/katrinkerber/subscriptions","organizations_url":"https://api.github.com/users/katrinkerber/orgs","repos_url":"https://api.github.com/users/katrinkerber/repos","events_url":"https://api.github.com/users/katrinkerber/events{/privacy}","received_events_url":"https://api.github.com/users/katrinkerber/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2016-01-12T18:33:02Z","updated_at":"2016-01-13T13:37:11Z","closed_at":null,"body":"I am trying to transform video thumbnails which I retrieve via the Embedder plugin, but am running into an odd issue.\r\n\r\nThis is my code:\r\n````\r\n{% set videoEmbedderUrl = item.videoUrl|replace({'youtube.com/embed/': 'youtube.com/watch?v='}) %}\r\n{% set videoEmbedderElement = craft.embedder.url(videoEmbedderUrl) %}\r\n{% set videoThumb = videoEmbedderElement.video_highres|replace('https', 'http') %}\r\n\r\n{% set videoThumbCroppedUrl = '' %}\r\n{% set videoThumbCropped = craft.imager.transformImage(videoThumb, [{ ratio: 3/2 }]) %}\r\n{% for videoThumbCropped in videoThumbCropped %}\r\n  {% set videoThumbCroppedUrl = videoThumbCropped.getUrl() %}\r\n{% endfor %}\r\n````\r\n\r\nThis works great for a lot of the videos, but some of them cause this error:\r\n````\r\ngetimagesize(): Read error!\r\n````\r\n\r\nWhen I print out `{{ videoThumb }}` the correct URL is shown and the external image definitely exists as well. I can also see the transform folder for that image having been generated on the server, but no image inside of it.\r\n\r\nWhat could be causing this issue?"},"comment":{"url":"https://api.github.com/repos/aelvan/Imager-Craft/issues/comments/171291461","html_url":"https://github.com/aelvan/Imager-Craft/issues/14#issuecomment-171291461","issue_url":"https://api.github.com/repos/aelvan/Imager-Craft/issues/14","id":171291461,"user":{"login":"dennisfrank","id":65968,"avatar_url":"https://avatars.githubusercontent.com/u/65968?v=3","gravatar_id":"","url":"https://api.github.com/users/dennisfrank","html_url":"https://github.com/dennisfrank","followers_url":"https://api.github.com/users/dennisfrank/followers","following_url":"https://api.github.com/users/dennisfrank/following{/other_user}","gists_url":"https://api.github.com/users/dennisfrank/gists{/gist_id}","starred_url":"https://api.github.com/users/dennisfrank/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dennisfrank/subscriptions","organizations_url":"https://api.github.com/users/dennisfrank/orgs","repos_url":"https://api.github.com/users/dennisfrank/repos","events_url":"https://api.github.com/users/dennisfrank/events{/privacy}","received_events_url":"https://api.github.com/users/dennisfrank/received_events","type":"User","site_admin":false},"created_at":"2016-01-13T13:37:11Z","updated_at":"2016-01-13T13:37:11Z","body":"@aelvan Yes. This happens all the time on remote images."}}