{"action":"opened","issue":{"url":"https://api.github.com/repos/jekyll/jekyll-assets/issues/243","repository_url":"https://api.github.com/repos/jekyll/jekyll-assets","labels_url":"https://api.github.com/repos/jekyll/jekyll-assets/issues/243/labels{/name}","comments_url":"https://api.github.com/repos/jekyll/jekyll-assets/issues/243/comments","events_url":"https://api.github.com/repos/jekyll/jekyll-assets/issues/243/events","html_url":"https://github.com/jekyll/jekyll-assets/issues/243","id":136975146,"number":243,"title":"image_optim in Jekyll 3 Assets","user":{"login":"sphax3d","id":1180345,"avatar_url":"https://avatars.githubusercontent.com/u/1180345?v=3","gravatar_id":"","url":"https://api.github.com/users/sphax3d","html_url":"https://github.com/sphax3d","followers_url":"https://api.github.com/users/sphax3d/followers","following_url":"https://api.github.com/users/sphax3d/following{/other_user}","gists_url":"https://api.github.com/users/sphax3d/gists{/gist_id}","starred_url":"https://api.github.com/users/sphax3d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sphax3d/subscriptions","organizations_url":"https://api.github.com/users/sphax3d/orgs","repos_url":"https://api.github.com/users/sphax3d/repos","events_url":"https://api.github.com/users/sphax3d/events{/privacy}","received_events_url":"https://api.github.com/users/sphax3d/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-27T22:16:18Z","updated_at":"2016-02-27T22:16:18Z","closed_at":null,"body":"I found #141 to use image_optim with Jekyll Assets, but I would like optimize images only for the production build. I tried to extend `Hook` and `Sprockets::Compressing` in a Jekyll plugin to use the `\"compress\" => { \"image\" => true }` option but I did not succeed.\r\nIt would be great if Jekyll Assets could handle image optimization.\r\nThank you!"}}