{"action":"created","issue":{"url":"https://api.github.com/repos/DoSomething/dosomething/issues/3712","labels_url":"https://api.github.com/repos/DoSomething/dosomething/issues/3712/labels{/name}","comments_url":"https://api.github.com/repos/DoSomething/dosomething/issues/3712/comments","events_url":"https://api.github.com/repos/DoSomething/dosomething/issues/3712/events","html_url":"https://github.com/DoSomething/dosomething/issues/3712","id":54108447,"number":3712,"title":"Reportback Cropping: image_gd_create() error ","user":{"login":"sbsmith86","id":1700409,"avatar_url":"https://avatars.githubusercontent.com/u/1700409?v=3","gravatar_id":"","url":"https://api.github.com/users/sbsmith86","html_url":"https://github.com/sbsmith86","followers_url":"https://api.github.com/users/sbsmith86/followers","following_url":"https://api.github.com/users/sbsmith86/following{/other_user}","gists_url":"https://api.github.com/users/sbsmith86/gists{/gist_id}","starred_url":"https://api.github.com/users/sbsmith86/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbsmith86/subscriptions","organizations_url":"https://api.github.com/users/sbsmith86/orgs","repos_url":"https://api.github.com/users/sbsmith86/repos","events_url":"https://api.github.com/users/sbsmith86/events{/privacy}","received_events_url":"https://api.github.com/users/sbsmith86/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/DoSomething/dosomething/labels/@fender","name":"@fender","color":"207de5"},{"url":"https://api.github.com/repos/DoSomething/dosomething/labels/priority-low","name":"priority-low","color":"ffffff"}],"state":"open","locked":false,"assignee":{"login":"sbsmith86","id":1700409,"avatar_url":"https://avatars.githubusercontent.com/u/1700409?v=3","gravatar_id":"","url":"https://api.github.com/users/sbsmith86","html_url":"https://github.com/sbsmith86","followers_url":"https://api.github.com/users/sbsmith86/followers","following_url":"https://api.github.com/users/sbsmith86/following{/other_user}","gists_url":"https://api.github.com/users/sbsmith86/gists{/gist_id}","starred_url":"https://api.github.com/users/sbsmith86/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbsmith86/subscriptions","organizations_url":"https://api.github.com/users/sbsmith86/orgs","repos_url":"https://api.github.com/users/sbsmith86/repos","events_url":"https://api.github.com/users/sbsmith86/events{/privacy}","received_events_url":"https://api.github.com/users/sbsmith86/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/DoSomething/dosomething/milestones/16","labels_url":"https://api.github.com/repos/DoSomething/dosomething/milestones/16/labels","id":935367,"number":16,"title":"Reportbacks v2.0.1","description":"post-launch cleanup on Reportbacks v2.0","creator":{"login":"mikefantini","id":6330971,"avatar_url":"https://avatars.githubusercontent.com/u/6330971?v=3","gravatar_id":"","url":"https://api.github.com/users/mikefantini","html_url":"https://github.com/mikefantini","followers_url":"https://api.github.com/users/mikefantini/followers","following_url":"https://api.github.com/users/mikefantini/following{/other_user}","gists_url":"https://api.github.com/users/mikefantini/gists{/gist_id}","starred_url":"https://api.github.com/users/mikefantini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikefantini/subscriptions","organizations_url":"https://api.github.com/users/mikefantini/orgs","repos_url":"https://api.github.com/users/mikefantini/repos","events_url":"https://api.github.com/users/mikefantini/events{/privacy}","received_events_url":"https://api.github.com/users/mikefantini/received_events","type":"User","site_admin":false},"open_issues":18,"closed_issues":4,"state":"open","created_at":"2015-01-14T17:10:47Z","updated_at":"2015-02-09T21:44:03Z","due_on":null,"closed_at":null},"comments":10,"created_at":"2015-01-12T21:21:35Z","updated_at":"2015-02-10T16:17:52Z","closed_at":null,"body":"There is a bug that sometimes gets shown when cropping and image. It seems to be tied to when the image cropping script things that the crop area selected does not fully cover the image. \r\n![image_gd_create](https://cloud.githubusercontent.com/assets/1700409/5711264/08d53b80-9a77-11e4-8a80-480643b22019.jpg)\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/DoSomething/dosomething/issues/comments/73728822","html_url":"https://github.com/DoSomething/dosomething/issues/3712#issuecomment-73728822","issue_url":"https://api.github.com/repos/DoSomething/dosomething/issues/3712","id":73728822,"user":{"login":"weerd","id":105849,"avatar_url":"https://avatars.githubusercontent.com/u/105849?v=3","gravatar_id":"","url":"https://api.github.com/users/weerd","html_url":"https://github.com/weerd","followers_url":"https://api.github.com/users/weerd/followers","following_url":"https://api.github.com/users/weerd/following{/other_user}","gists_url":"https://api.github.com/users/weerd/gists{/gist_id}","starred_url":"https://api.github.com/users/weerd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weerd/subscriptions","organizations_url":"https://api.github.com/users/weerd/orgs","repos_url":"https://api.github.com/users/weerd/repos","events_url":"https://api.github.com/users/weerd/events{/privacy}","received_events_url":"https://api.github.com/users/weerd/received_events","type":"User","site_admin":false},"created_at":"2015-02-10T16:17:52Z","updated_at":"2015-02-10T16:17:52Z","body":"I can successfully replicate this issue with a specific scenario.\r\n\r\nIt appears to happen when there's no lack of support for the File API, or we fake the JS into thinking that the browser doesn't support the File API.\r\n\r\nWhat I suspect is that in the backend, when the form is submitted, one of the PHP cropping functions is expecting certain data to be passed along but because the file API wasn't supported (or faked non-support) the image crop stuff didn't need to run and maybe some essential data is not passed...\r\n\r\nHere's a list of screenshots of errors I got in the logs when replicating the issue:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/105849/6130836/fc2aef78-b115-11e4-9922-75816ab9767f.png)\r\n\r\n![image](https://cloud.githubusercontent.com/assets/105849/6130839/06bd949a-b116-11e4-891f-793f1c5f145d.png)\r\n\r\n![image](https://cloud.githubusercontent.com/assets/105849/6130846/131768ce-b116-11e4-88c5-53d7baeead9c.png)\r\n\r\n![image](https://cloud.githubusercontent.com/assets/105849/6130859/23e0a378-b116-11e4-8b86-9f1197bd5fbf.png)\r\n\r\n![image](https://cloud.githubusercontent.com/assets/105849/6130904/72ed9a48-b116-11e4-9131-36ed632c7e0b.png)\r\n\r\n\r\n![image](https://cloud.githubusercontent.com/assets/105849/6130897/68946612-b116-11e4-8d05-8b42b0344f3b.png)\r\n\r\n"}}