{"action":"created","issue":{"url":"https://api.github.com/repos/cozy/cozy-photos/issues/90","labels_url":"https://api.github.com/repos/cozy/cozy-photos/issues/90/labels{/name}","comments_url":"https://api.github.com/repos/cozy/cozy-photos/issues/90/comments","events_url":"https://api.github.com/repos/cozy/cozy-photos/issues/90/events","html_url":"https://github.com/cozy/cozy-photos/pull/90","id":55909764,"number":90,"title":"Attempt to make thumb creation more tolerant to bug","user":{"login":"frankrousseau","id":1336623,"avatar_url":"https://avatars.githubusercontent.com/u/1336623?v=3","gravatar_id":"","url":"https://api.github.com/users/frankrousseau","html_url":"https://github.com/frankrousseau","followers_url":"https://api.github.com/users/frankrousseau/followers","following_url":"https://api.github.com/users/frankrousseau/following{/other_user}","gists_url":"https://api.github.com/users/frankrousseau/gists{/gist_id}","starred_url":"https://api.github.com/users/frankrousseau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frankrousseau/subscriptions","organizations_url":"https://api.github.com/users/frankrousseau/orgs","repos_url":"https://api.github.com/users/frankrousseau/repos","events_url":"https://api.github.com/users/frankrousseau/events{/privacy}","received_events_url":"https://api.github.com/users/frankrousseau/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cozy/cozy-photos/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-29T15:03:39Z","updated_at":"2015-01-29T15:30:46Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/cozy/cozy-photos/pulls/90","html_url":"https://github.com/cozy/cozy-photos/pull/90","diff_url":"https://github.com/cozy/cozy-photos/pull/90.diff","patch_url":"https://github.com/cozy/cozy-photos/pull/90.patch"},"body":"* Make thumb module more modular\r\n* Try to build thumb only for jpg and png files\r\n* remove file open step before thumbnail generation (useless with a create write stream)"},"comment":{"url":"https://api.github.com/repos/cozy/cozy-photos/issues/comments/72043885","html_url":"https://github.com/cozy/cozy-photos/pull/90#issuecomment-72043885","issue_url":"https://api.github.com/repos/cozy/cozy-photos/issues/90","id":72043885,"user":{"login":"aenario","id":1580287,"avatar_url":"https://avatars.githubusercontent.com/u/1580287?v=3","gravatar_id":"","url":"https://api.github.com/users/aenario","html_url":"https://github.com/aenario","followers_url":"https://api.github.com/users/aenario/followers","following_url":"https://api.github.com/users/aenario/following{/other_user}","gists_url":"https://api.github.com/users/aenario/gists{/gist_id}","starred_url":"https://api.github.com/users/aenario/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aenario/subscriptions","organizations_url":"https://api.github.com/users/aenario/orgs","repos_url":"https://api.github.com/users/aenario/repos","events_url":"https://api.github.com/users/aenario/events{/privacy}","received_events_url":"https://api.github.com/users/aenario/received_events","type":"User","site_admin":false},"created_at":"2015-01-29T15:30:46Z","updated_at":"2015-01-29T15:30:46Z","body":"why use mime & not just check file name 's extensions ?\r\n\r\nmime does just that : \r\nhttps://github.com/broofa/node-mime/blob/master/mime.js#L74\r\nhttps://github.com/broofa/node-mime/blob/master/types/mime.types#L1319\r\nhttps://github.com/broofa/node-mime/blob/master/types/mime.types#L1324\r\n\r\n"}}