{"action":"created","issue":{"url":"https://api.github.com/repos/manogi/october-mediathumb/issues/11","repository_url":"https://api.github.com/repos/manogi/october-mediathumb","labels_url":"https://api.github.com/repos/manogi/october-mediathumb/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/manogi/october-mediathumb/issues/11/comments","events_url":"https://api.github.com/repos/manogi/october-mediathumb/issues/11/events","html_url":"https://github.com/manogi/october-mediathumb/pull/11","id":188909113,"number":11,"title":"Added cropping","user":{"login":"Dobbler","id":407156,"avatar_url":"https://avatars.githubusercontent.com/u/407156?v=3","gravatar_id":"","url":"https://api.github.com/users/Dobbler","html_url":"https://github.com/Dobbler","followers_url":"https://api.github.com/users/Dobbler/followers","following_url":"https://api.github.com/users/Dobbler/following{/other_user}","gists_url":"https://api.github.com/users/Dobbler/gists{/gist_id}","starred_url":"https://api.github.com/users/Dobbler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dobbler/subscriptions","organizations_url":"https://api.github.com/users/Dobbler/orgs","repos_url":"https://api.github.com/users/Dobbler/repos","events_url":"https://api.github.com/users/Dobbler/events{/privacy}","received_events_url":"https://api.github.com/users/Dobbler/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-12T12:25:33Z","updated_at":"2016-11-12T12:26:20Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/manogi/october-mediathumb/pulls/11","html_url":"https://github.com/manogi/october-mediathumb/pull/11","diff_url":"https://github.com/manogi/october-mediathumb/pull/11.diff","patch_url":"https://github.com/manogi/october-mediathumb/pull/11.patch"},"body":"Crop can be called like so: {{ 'image_name.jpg'|mediathumb_resize('crop', '$my_width|$my_height', $my_quality) }} e.g: {{ 'image_name.jpg'|mediathumb_resize('crop', '1200|500', 70) }}\r\n\r\nSeparate width and height with pipe (|) in quotes. It uses Intervention's \"fit\" as opposed to \"crop\" to make the best fit to the dimensions.\r\n"},"comment":{"url":"https://api.github.com/repos/manogi/october-mediathumb/issues/comments/260119268","html_url":"https://github.com/manogi/october-mediathumb/pull/11#issuecomment-260119268","issue_url":"https://api.github.com/repos/manogi/october-mediathumb/issues/11","id":260119268,"user":{"login":"Dobbler","id":407156,"avatar_url":"https://avatars.githubusercontent.com/u/407156?v=3","gravatar_id":"","url":"https://api.github.com/users/Dobbler","html_url":"https://github.com/Dobbler","followers_url":"https://api.github.com/users/Dobbler/followers","following_url":"https://api.github.com/users/Dobbler/following{/other_user}","gists_url":"https://api.github.com/users/Dobbler/gists{/gist_id}","starred_url":"https://api.github.com/users/Dobbler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dobbler/subscriptions","organizations_url":"https://api.github.com/users/Dobbler/orgs","repos_url":"https://api.github.com/users/Dobbler/repos","events_url":"https://api.github.com/users/Dobbler/events{/privacy}","received_events_url":"https://api.github.com/users/Dobbler/received_events","type":"User","site_admin":false},"created_at":"2016-11-12T12:26:20Z","updated_at":"2016-11-12T12:26:20Z","body":"Had a bit of a brain fart with the first pull request.. this should do the trick.."}}
{"actor":{"display_login":"Dobbler"}}