{"action":"created","issue":{"url":"https://api.github.com/repos/liqd/adhocracy3/issues/1854","labels_url":"https://api.github.com/repos/liqd/adhocracy3/issues/1854/labels{/name}","comments_url":"https://api.github.com/repos/liqd/adhocracy3/issues/1854/comments","events_url":"https://api.github.com/repos/liqd/adhocracy3/issues/1854/events","html_url":"https://github.com/liqd/adhocracy3/pull/1854","id":118871898,"number":1854,"title":"Restrict images types to JPEG","user":{"login":"pallix","id":676838,"avatar_url":"https://avatars.githubusercontent.com/u/676838?v=3","gravatar_id":"","url":"https://api.github.com/users/pallix","html_url":"https://github.com/pallix","followers_url":"https://api.github.com/users/pallix/followers","following_url":"https://api.github.com/users/pallix/following{/other_user}","gists_url":"https://api.github.com/users/pallix/gists{/gist_id}","starred_url":"https://api.github.com/users/pallix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pallix/subscriptions","organizations_url":"https://api.github.com/users/pallix/orgs","repos_url":"https://api.github.com/users/pallix/repos","events_url":"https://api.github.com/users/pallix/events{/privacy}","received_events_url":"https://api.github.com/users/pallix/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/liqd/adhocracy3/labels/backend","name":"backend","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-25T16:20:02Z","updated_at":"2015-11-25T17:11:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/liqd/adhocracy3/pulls/1854","html_url":"https://github.com/liqd/adhocracy3/pull/1854","diff_url":"https://github.com/liqd/adhocracy3/pull/1854.diff","patch_url":"https://github.com/liqd/adhocracy3/pull/1854.patch"},"body":"This is done for performance reason and to reduce the size of the DB."},"comment":{"url":"https://api.github.com/repos/liqd/adhocracy3/issues/comments/159675986","html_url":"https://github.com/liqd/adhocracy3/pull/1854#issuecomment-159675986","issue_url":"https://api.github.com/repos/liqd/adhocracy3/issues/1854","id":159675986,"user":{"login":"nidico","id":457147,"avatar_url":"https://avatars.githubusercontent.com/u/457147?v=3","gravatar_id":"","url":"https://api.github.com/users/nidico","html_url":"https://github.com/nidico","followers_url":"https://api.github.com/users/nidico/followers","following_url":"https://api.github.com/users/nidico/following{/other_user}","gists_url":"https://api.github.com/users/nidico/gists{/gist_id}","starred_url":"https://api.github.com/users/nidico/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nidico/subscriptions","organizations_url":"https://api.github.com/users/nidico/orgs","repos_url":"https://api.github.com/users/nidico/repos","events_url":"https://api.github.com/users/nidico/events{/privacy}","received_events_url":"https://api.github.com/users/nidico/received_events","type":"User","site_admin":false},"created_at":"2015-11-25T17:11:05Z","updated_at":"2015-11-25T17:11:05Z","body":"2 thoughts:\r\n\r\n- AFAIK jpgs are not smaller than pngs for user-generated graphics such as diagrams (but mainly better for pictures)\r\n- I think that not allowing png is not user-friendly, I would be annoyed... So if we really want to restrict this, we should transform to jpg in the scaled images."}}