{"action":"created","issue":{"url":"https://api.github.com/repos/humanmade/S3-Uploads/issues/141","repository_url":"https://api.github.com/repos/humanmade/S3-Uploads","labels_url":"https://api.github.com/repos/humanmade/S3-Uploads/issues/141/labels{/name}","comments_url":"https://api.github.com/repos/humanmade/S3-Uploads/issues/141/comments","events_url":"https://api.github.com/repos/humanmade/S3-Uploads/issues/141/events","html_url":"https://github.com/humanmade/S3-Uploads/issues/141","id":197159266,"number":141,"title":"Integration with jpegoptim and optipng","user":{"login":"eirisdg","id":5367659,"avatar_url":"https://avatars.githubusercontent.com/u/5367659?v=3","gravatar_id":"","url":"https://api.github.com/users/eirisdg","html_url":"https://github.com/eirisdg","followers_url":"https://api.github.com/users/eirisdg/followers","following_url":"https://api.github.com/users/eirisdg/following{/other_user}","gists_url":"https://api.github.com/users/eirisdg/gists{/gist_id}","starred_url":"https://api.github.com/users/eirisdg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eirisdg/subscriptions","organizations_url":"https://api.github.com/users/eirisdg/orgs","repos_url":"https://api.github.com/users/eirisdg/repos","events_url":"https://api.github.com/users/eirisdg/events{/privacy}","received_events_url":"https://api.github.com/users/eirisdg/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-12-22T11:58:00Z","updated_at":"2016-12-29T15:15:27Z","closed_at":"2016-12-22T13:14:49Z","body":"First of all, thanks for this fantastic plugin. Is not easy to find and is perfect for my project.\r\n\r\nI think that image optimizing is one of the best practices in wordpress management to reduce image sizes. So, could be an option to be implemented tools like jpegoptim or optipng before the image starts to copy to S3?\r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/humanmade/S3-Uploads/issues/comments/269644001","html_url":"https://github.com/humanmade/S3-Uploads/issues/141#issuecomment-269644001","issue_url":"https://api.github.com/repos/humanmade/S3-Uploads/issues/141","id":269644001,"user":{"login":"joehoyle","id":161683,"avatar_url":"https://avatars.githubusercontent.com/u/161683?v=3","gravatar_id":"","url":"https://api.github.com/users/joehoyle","html_url":"https://github.com/joehoyle","followers_url":"https://api.github.com/users/joehoyle/followers","following_url":"https://api.github.com/users/joehoyle/following{/other_user}","gists_url":"https://api.github.com/users/joehoyle/gists{/gist_id}","starred_url":"https://api.github.com/users/joehoyle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joehoyle/subscriptions","organizations_url":"https://api.github.com/users/joehoyle/orgs","repos_url":"https://api.github.com/users/joehoyle/repos","events_url":"https://api.github.com/users/joehoyle/events{/privacy}","received_events_url":"https://api.github.com/users/joehoyle/received_events","type":"User","site_admin":false},"created_at":"2016-12-29T15:15:27Z","updated_at":"2016-12-29T15:15:27Z","body":"FWIW I think the reason this doesn't work out the box with EWWW is that they both use a subclass of the Image_Editor class (at least in the case of Imagick), as such, S3 Uploads is probably setting the Image Editor to it's subclass, or visa versa. I don't know much way around that, using the OOP design. Yey OOP. Ideally, neither plugins would use this approach, it's a pretty big hack to swap out the image editor classes."}}
{"actor":{"display_login":"joehoyle"}}