{"action":"closed","issue":{"url":"https://api.github.com/repos/minimagick/minimagick/issues/362","repository_url":"https://api.github.com/repos/minimagick/minimagick","labels_url":"https://api.github.com/repos/minimagick/minimagick/issues/362/labels{/name}","comments_url":"https://api.github.com/repos/minimagick/minimagick/issues/362/comments","events_url":"https://api.github.com/repos/minimagick/minimagick/issues/362/events","html_url":"https://github.com/minimagick/minimagick/issues/362","id":142441322,"number":362,"title":"Jekyll-Assets sending options into Mini Magick: ordering issues?","user":{"login":"2474","id":8267145,"avatar_url":"https://avatars.githubusercontent.com/u/8267145?v=3","gravatar_id":"","url":"https://api.github.com/users/2474","html_url":"https://github.com/2474","followers_url":"https://api.github.com/users/2474/followers","following_url":"https://api.github.com/users/2474/following{/other_user}","gists_url":"https://api.github.com/users/2474/gists{/gist_id}","starred_url":"https://api.github.com/users/2474/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/2474/subscriptions","organizations_url":"https://api.github.com/users/2474/orgs","repos_url":"https://api.github.com/users/2474/repos","events_url":"https://api.github.com/users/2474/events{/privacy}","received_events_url":"https://api.github.com/users/2474/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-21T19:08:06Z","updated_at":"2016-03-22T14:03:36Z","closed_at":"2016-03-22T14:03:36Z","body":"Kind of a weird question here. Jekyll-Assets, a Jekyll plugin that manages assets allows for something such as `{% img 'path/to/img.jpg magick:crop:300x200+0+0 %}`. It then passes those proxies into Mini Magick as a hash ([see magick.rb](https://github.com/jekyll/jekyll-assets/blob/master/lib/jekyll/assets/proxies/magick.rb)).\r\n\r\nToday they started allowing for the pass through of the gravity option, using `magick:gravity:<value>`. However trying something such as `{% img 'path/to/img.jpg magick:gravity:Center magick:crop:300x200+0+0 %}` doesn't actually crop in relation to the gravity setting.\r\n\r\nIs this because when the options are sent as a hash? That Mini Magick expects them in a particular order and that order can't be maintained? So perhaps the crop doesn't know anything about the gravity setting?\r\n"}}