{"action":"created","issue":{"url":"https://api.github.com/repos/guardian/grid/issues/1004","labels_url":"https://api.github.com/repos/guardian/grid/issues/1004/labels{/name}","comments_url":"https://api.github.com/repos/guardian/grid/issues/1004/comments","events_url":"https://api.github.com/repos/guardian/grid/issues/1004/events","html_url":"https://github.com/guardian/grid/issues/1004","id":98216207,"number":1004,"title":"Index and expose original filename","user":{"login":"theefer","id":36964,"avatar_url":"https://avatars.githubusercontent.com/u/36964?v=3","gravatar_id":"","url":"https://api.github.com/users/theefer","html_url":"https://github.com/theefer","followers_url":"https://api.github.com/users/theefer/followers","following_url":"https://api.github.com/users/theefer/following{/other_user}","gists_url":"https://api.github.com/users/theefer/gists{/gist_id}","starred_url":"https://api.github.com/users/theefer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theefer/subscriptions","organizations_url":"https://api.github.com/users/theefer/orgs","repos_url":"https://api.github.com/users/theefer/repos","events_url":"https://api.github.com/users/theefer/events{/privacy}","received_events_url":"https://api.github.com/users/theefer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/guardian/grid/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/guardian/grid/labels/low.hanging.fruit","name":"low.hanging.fruit","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-07-30T16:57:22Z","updated_at":"2015-08-03T15:40:32Z","closed_at":null,"body":"We resisted it for a while but talking to users it's actually necessary to retain the original filename of the uploaded file in the image metadata. The reason is that often people receive images, and then later on more instructions or descriptions for these images, and the only way to relate the two is the filename. Currently the filename isn't kept or shown anywhere.\r\n\r\n**Question: what to do if an image is re-uploaded?**\r\nI suggest we override with the new filename if provided, and keep the previous one if not."},"comment":{"url":"https://api.github.com/repos/guardian/grid/issues/comments/127281791","html_url":"https://github.com/guardian/grid/issues/1004#issuecomment-127281791","issue_url":"https://api.github.com/repos/guardian/grid/issues/1004","id":127281791,"user":{"login":"theefer","id":36964,"avatar_url":"https://avatars.githubusercontent.com/u/36964?v=3","gravatar_id":"","url":"https://api.github.com/users/theefer","html_url":"https://github.com/theefer","followers_url":"https://api.github.com/users/theefer/followers","following_url":"https://api.github.com/users/theefer/following{/other_user}","gists_url":"https://api.github.com/users/theefer/gists{/gist_id}","starred_url":"https://api.github.com/users/theefer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theefer/subscriptions","organizations_url":"https://api.github.com/users/theefer/orgs","repos_url":"https://api.github.com/users/theefer/repos","events_url":"https://api.github.com/users/theefer/events{/privacy}","received_events_url":"https://api.github.com/users/theefer/received_events","type":"User","site_admin":false},"created_at":"2015-08-03T15:40:32Z","updated_at":"2015-08-03T15:40:32Z","body":"We're just posting data to the upload endpoint, I don't think we currently send any filename at all? I might be wrong."}}