{"action":"created","issue":{"url":"https://api.github.com/repos/OpenTreeMap/OTM2/issues/1956","labels_url":"https://api.github.com/repos/OpenTreeMap/OTM2/issues/1956/labels{/name}","comments_url":"https://api.github.com/repos/OpenTreeMap/OTM2/issues/1956/comments","events_url":"https://api.github.com/repos/OpenTreeMap/OTM2/issues/1956/events","html_url":"https://github.com/OpenTreeMap/OTM2/pull/1956","id":58796805,"number":1956,"title":"Fix favorite list image URL construction","user":{"login":"jwalgran","id":17363,"avatar_url":"https://avatars.githubusercontent.com/u/17363?v=3","gravatar_id":"","url":"https://api.github.com/users/jwalgran","html_url":"https://github.com/jwalgran","followers_url":"https://api.github.com/users/jwalgran/followers","following_url":"https://api.github.com/users/jwalgran/following{/other_user}","gists_url":"https://api.github.com/users/jwalgran/gists{/gist_id}","starred_url":"https://api.github.com/users/jwalgran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwalgran/subscriptions","organizations_url":"https://api.github.com/users/jwalgran/orgs","repos_url":"https://api.github.com/users/jwalgran/repos","events_url":"https://api.github.com/users/jwalgran/events{/privacy}","received_events_url":"https://api.github.com/users/jwalgran/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/OpenTreeMap/OTM2/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"steventlamb","id":1699455,"avatar_url":"https://avatars.githubusercontent.com/u/1699455?v=3","gravatar_id":"","url":"https://api.github.com/users/steventlamb","html_url":"https://github.com/steventlamb","followers_url":"https://api.github.com/users/steventlamb/followers","following_url":"https://api.github.com/users/steventlamb/following{/other_user}","gists_url":"https://api.github.com/users/steventlamb/gists{/gist_id}","starred_url":"https://api.github.com/users/steventlamb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steventlamb/subscriptions","organizations_url":"https://api.github.com/users/steventlamb/orgs","repos_url":"https://api.github.com/users/steventlamb/repos","events_url":"https://api.github.com/users/steventlamb/events{/privacy}","received_events_url":"https://api.github.com/users/steventlamb/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-02-24T20:11:35Z","updated_at":"2015-02-25T14:57:55Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/OpenTreeMap/OTM2/pulls/1956","html_url":"https://github.com/OpenTreeMap/OTM2/pull/1956","diff_url":"https://github.com/OpenTreeMap/OTM2/pull/1956.diff","patch_url":"https://github.com/OpenTreeMap/OTM2/pull/1956.patch"},"body":"My initial implementation of getting thumbnails for the favorites list had two flaws:\r\n\r\n1. I was manually constructing a photo URL, rather than using the\r\n``url`` property of the photo instance. This broke when running in AWS\r\nwhere photos are in S3 rather than the media directory.\r\n\r\n2. When the map feature is a plot, the photo to be displayed is attached\r\nto the current tree, not the plot itself."},"comment":{"url":"https://api.github.com/repos/OpenTreeMap/OTM2/issues/comments/75974017","html_url":"https://github.com/OpenTreeMap/OTM2/pull/1956#issuecomment-75974017","issue_url":"https://api.github.com/repos/OpenTreeMap/OTM2/issues/1956","id":75974017,"user":{"login":"maurizi","id":4432106,"avatar_url":"https://avatars.githubusercontent.com/u/4432106?v=3","gravatar_id":"","url":"https://api.github.com/users/maurizi","html_url":"https://github.com/maurizi","followers_url":"https://api.github.com/users/maurizi/followers","following_url":"https://api.github.com/users/maurizi/following{/other_user}","gists_url":"https://api.github.com/users/maurizi/gists{/gist_id}","starred_url":"https://api.github.com/users/maurizi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maurizi/subscriptions","organizations_url":"https://api.github.com/users/maurizi/orgs","repos_url":"https://api.github.com/users/maurizi/repos","events_url":"https://api.github.com/users/maurizi/events{/privacy}","received_events_url":"https://api.github.com/users/maurizi/received_events","type":"User","site_admin":false},"created_at":"2015-02-25T14:57:55Z","updated_at":"2015-02-25T14:57:55Z","body":"+1"}}