{"action":"created","issue":{"url":"https://api.github.com/repos/DoSomething/dosomething/issues/4222","labels_url":"https://api.github.com/repos/DoSomething/dosomething/issues/4222/labels{/name}","comments_url":"https://api.github.com/repos/DoSomething/dosomething/issues/4222/comments","events_url":"https://api.github.com/repos/DoSomething/dosomething/issues/4222/events","html_url":"https://github.com/DoSomething/dosomething/pull/4222","id":62435555,"number":4222,"title":"Need to fallback if error loading image.","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},"labels":[{"url":"https://api.github.com/repos/DoSomething/dosomething/labels/@bender","name":"@bender","color":"009800"},{"url":"https://api.github.com/repos/DoSomething/dosomething/labels/bug","name":"bug","color":"eb6420"}],"state":"open","locked":false,"assignee":{"login":"sergii-tkachenko","id":672669,"avatar_url":"https://avatars.githubusercontent.com/u/672669?v=3","gravatar_id":"","url":"https://api.github.com/users/sergii-tkachenko","html_url":"https://github.com/sergii-tkachenko","followers_url":"https://api.github.com/users/sergii-tkachenko/followers","following_url":"https://api.github.com/users/sergii-tkachenko/following{/other_user}","gists_url":"https://api.github.com/users/sergii-tkachenko/gists{/gist_id}","starred_url":"https://api.github.com/users/sergii-tkachenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergii-tkachenko/subscriptions","organizations_url":"https://api.github.com/users/sergii-tkachenko/orgs","repos_url":"https://api.github.com/users/sergii-tkachenko/repos","events_url":"https://api.github.com/users/sergii-tkachenko/events{/privacy}","received_events_url":"https://api.github.com/users/sergii-tkachenko/received_events","type":"User","site_admin":false},"milestone":null,"comments":17,"created_at":"2015-03-17T15:47:24Z","updated_at":"2015-03-17T21:27:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/DoSomething/dosomething/pulls/4222","html_url":"https://github.com/DoSomething/dosomething/pull/4222","diff_url":"https://github.com/DoSomething/dosomething/pull/4222.diff","patch_url":"https://github.com/DoSomething/dosomething/pull/4222.patch"},"body":"Not actually sure if returning `NULL` is ideal here; maybe a different fallback would be more ideal? This cropped up specifically due to issues with the **Stage File Proxy** module not properly loading files. This would cause errors in the logs since the `$image` variable was empty, and thus results in this notice:\r\n\r\n`````\r\nNotice: Trying to get property of non-object in dosomething_image_get_themed_image_by_fid() (line 147 of /var/www/dev.dosomething.org/lib/modules/dosomething/dosomething_image/dosomething_image.module).\r\n`````\r\n\r\nHowever, because it's now returning `NULL`, doesn't really provide much feedback on the front-end that the image link is broken. Any ideas on a better fallback would be appreciated.\r\n\r\n@sergii-tkachenko @aaronschachter "},"comment":{"url":"https://api.github.com/repos/DoSomething/dosomething/issues/comments/82606823","html_url":"https://github.com/DoSomething/dosomething/pull/4222#issuecomment-82606823","issue_url":"https://api.github.com/repos/DoSomething/dosomething/issues/4222","id":82606823,"user":{"login":"lkpttn","id":1865372,"avatar_url":"https://avatars.githubusercontent.com/u/1865372?v=3","gravatar_id":"","url":"https://api.github.com/users/lkpttn","html_url":"https://github.com/lkpttn","followers_url":"https://api.github.com/users/lkpttn/followers","following_url":"https://api.github.com/users/lkpttn/following{/other_user}","gists_url":"https://api.github.com/users/lkpttn/gists{/gist_id}","starred_url":"https://api.github.com/users/lkpttn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lkpttn/subscriptions","organizations_url":"https://api.github.com/users/lkpttn/orgs","repos_url":"https://api.github.com/users/lkpttn/repos","events_url":"https://api.github.com/users/lkpttn/events{/privacy}","received_events_url":"https://api.github.com/users/lkpttn/received_events","type":"User","site_admin":false},"created_at":"2015-03-17T21:27:15Z","updated_at":"2015-03-17T21:27:15Z","body":"![pixelsloth](https://cloud.githubusercontent.com/assets/1865372/6697975/d9e3aeac-ccca-11e4-8cee-bb341e0602a0.png)\r\n"}}