{"action":"closed","issue":{"url":"https://api.github.com/repos/nystudio107/craft3-imageoptimize/issues/14","repository_url":"https://api.github.com/repos/nystudio107/craft3-imageoptimize","labels_url":"https://api.github.com/repos/nystudio107/craft3-imageoptimize/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/nystudio107/craft3-imageoptimize/issues/14/comments","events_url":"https://api.github.com/repos/nystudio107/craft3-imageoptimize/issues/14/events","html_url":"https://github.com/nystudio107/craft3-imageoptimize/issues/14","id":266519674,"number":14,"title":"Support file-based config","user":{"login":"wbrowar","id":2158662,"avatar_url":"https://avatars1.githubusercontent.com/u/2158662?v=4","gravatar_id":"","url":"https://api.github.com/users/wbrowar","html_url":"https://github.com/wbrowar","followers_url":"https://api.github.com/users/wbrowar/followers","following_url":"https://api.github.com/users/wbrowar/following{/other_user}","gists_url":"https://api.github.com/users/wbrowar/gists{/gist_id}","starred_url":"https://api.github.com/users/wbrowar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wbrowar/subscriptions","organizations_url":"https://api.github.com/users/wbrowar/orgs","repos_url":"https://api.github.com/users/wbrowar/repos","events_url":"https://api.github.com/users/wbrowar/events{/privacy}","received_events_url":"https://api.github.com/users/wbrowar/received_events","type":"User","site_admin":false},"labels":[{"id":558233476,"url":"https://api.github.com/repos/nystudio107/craft3-imageoptimize/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-10-18T14:42:20Z","updated_at":"2017-12-19T17:40:03Z","closed_at":"2017-12-19T17:40:03Z","author_association":"NONE","body":"Having the option to create transforms in the image-optimize.php config file would be a complimentary alternative to the current, matrix-style field config. This could be done by following the syntax of defaultVariants in a new array of transform options.\r\n\r\nThis would require a way to select a transform from the config file when you create the field on your asset source, so maybe a new field type could be used to select from the config file. Making the connect to the config file would allow for quick updates via the config file and it would allow for version control of these settings.\r\n\r\nIf someone deletes a transform from the array, it could fall back to the defaultVariants transform so the site doesn't break."}}
{"actor":{"display_login":"khalwat"}}