{"action":"opened","issue":{"url":"https://api.github.com/repos/karai17/lapis-chan/issues/28","labels_url":"https://api.github.com/repos/karai17/lapis-chan/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/karai17/lapis-chan/issues/28/comments","events_url":"https://api.github.com/repos/karai17/lapis-chan/issues/28/events","html_url":"https://github.com/karai17/lapis-chan/issues/28","id":128274857,"number":28,"title":"Animated gif display incorrect size","user":{"login":"karai17","id":590332,"avatar_url":"https://avatars.githubusercontent.com/u/590332?v=3","gravatar_id":"","url":"https://api.github.com/users/karai17","html_url":"https://github.com/karai17","followers_url":"https://api.github.com/users/karai17/followers","following_url":"https://api.github.com/users/karai17/following{/other_user}","gists_url":"https://api.github.com/users/karai17/gists{/gist_id}","starred_url":"https://api.github.com/users/karai17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karai17/subscriptions","organizations_url":"https://api.github.com/users/karai17/orgs","repos_url":"https://api.github.com/users/karai17/repos","events_url":"https://api.github.com/users/karai17/events{/privacy}","received_events_url":"https://api.github.com/users/karai17/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/karai17/lapis-chan/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-23T00:06:58Z","updated_at":"2016-01-23T00:06:58Z","closed_at":null,"body":"I believe when I moved the code to check if a file is a valid image, this broke animated gifs. I suspect the issue is that it is checking the size of the last frame, which may be as little as a single pixel compared to any key frames.\r\n\r\nThe likely fix for this is to grab the first frame of the gif to check the size."}}