{"action":"created","issue":{"url":"https://api.github.com/repos/pyrocms/pyrocms/issues/4821","repository_url":"https://api.github.com/repos/pyrocms/pyrocms","labels_url":"https://api.github.com/repos/pyrocms/pyrocms/issues/4821/labels{/name}","comments_url":"https://api.github.com/repos/pyrocms/pyrocms/issues/4821/comments","events_url":"https://api.github.com/repos/pyrocms/pyrocms/issues/4821/events","html_url":"https://github.com/pyrocms/pyrocms/issues/4821","id":339288876,"node_id":"MDU6SXNzdWUzMzkyODg4NzY=","number":4821,"title":"Pre-process Media Sizes (default macros)","user":{"login":"RyanThompson","id":1099967,"node_id":"MDQ6VXNlcjEwOTk5Njc=","avatar_url":"https://avatars1.githubusercontent.com/u/1099967?v=4","gravatar_id":"","url":"https://api.github.com/users/RyanThompson","html_url":"https://github.com/RyanThompson","followers_url":"https://api.github.com/users/RyanThompson/followers","following_url":"https://api.github.com/users/RyanThompson/following{/other_user}","gists_url":"https://api.github.com/users/RyanThompson/gists{/gist_id}","starred_url":"https://api.github.com/users/RyanThompson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RyanThompson/subscriptions","organizations_url":"https://api.github.com/users/RyanThompson/orgs","repos_url":"https://api.github.com/users/RyanThompson/repos","events_url":"https://api.github.com/users/RyanThompson/events{/privacy}","received_events_url":"https://api.github.com/users/RyanThompson/received_events","type":"User","site_admin":false},"labels":[{"id":92001,"node_id":"MDU6TGFiZWw5MjAwMQ==","url":"https://api.github.com/repos/pyrocms/pyrocms/labels/Type:%20Feature%20Request","name":"Type: Feature Request","color":"5319e7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-07-09T02:55:36Z","updated_at":"2018-09-27T09:15:17Z","closed_at":null,"author_association":"MEMBER","body":"**Is your feature request related to a problem? Please describe.**\r\nIt would be nice to allow top level macros to be run programmatically for one but also have these sane defaults in place for rapidly consuming media and standardizing the common outputs.\r\n\r\n**Describe the solution you'd like**\r\nWe have macros and I would like to propose being able to select which macros, per folder, are ran automatically when uploaded. This would also allow us to run them via CLI to ensure images are already all compiled as needed. \r\n\r\n**Describe alternatives you've considered**\r\nI've thought about making this separate from macros but I don't think it makes any sense.. it's config based so that developers can easily publish/override config and define the macros they need.\r\n\r\nThis is a basic form that WP has implemented. We can certainly do better with our macro system:\r\n\r\n![wordpress-media-settings](https://user-images.githubusercontent.com/1099967/42428537-b7b33ce2-82f9-11e8-9a91-5f4dc74ebc0b.png)\r\n"},"comment":{"url":"https://api.github.com/repos/pyrocms/pyrocms/issues/comments/425019450","html_url":"https://github.com/pyrocms/pyrocms/issues/4821#issuecomment-425019450","issue_url":"https://api.github.com/repos/pyrocms/pyrocms/issues/4821","id":425019450,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNTAxOTQ1MA==","user":{"login":"dwainscheeren","id":3868853,"node_id":"MDQ6VXNlcjM4Njg4NTM=","avatar_url":"https://avatars1.githubusercontent.com/u/3868853?v=4","gravatar_id":"","url":"https://api.github.com/users/dwainscheeren","html_url":"https://github.com/dwainscheeren","followers_url":"https://api.github.com/users/dwainscheeren/followers","following_url":"https://api.github.com/users/dwainscheeren/following{/other_user}","gists_url":"https://api.github.com/users/dwainscheeren/gists{/gist_id}","starred_url":"https://api.github.com/users/dwainscheeren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwainscheeren/subscriptions","organizations_url":"https://api.github.com/users/dwainscheeren/orgs","repos_url":"https://api.github.com/users/dwainscheeren/repos","events_url":"https://api.github.com/users/dwainscheeren/events{/privacy}","received_events_url":"https://api.github.com/users/dwainscheeren/received_events","type":"User","site_admin":false},"created_at":"2018-09-27T09:15:17Z","updated_at":"2018-09-27T09:15:17Z","author_association":"NONE","body":"I really would love this!\r\n"}}
{"actor":{"display_login":"dwainscheeren"}}