{"action":"created","issue":{"url":"https://api.github.com/repos/jekyll-assets/jekyll-assets/issues/39","labels_url":"https://api.github.com/repos/jekyll-assets/jekyll-assets/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/jekyll-assets/jekyll-assets/issues/39/comments","events_url":"https://api.github.com/repos/jekyll-assets/jekyll-assets/issues/39/events","html_url":"https://github.com/jekyll-assets/jekyll-assets/issues/39","id":17026538,"number":39,"title":"Serving up 2x assets","user":{"login":"zwaldowski","id":170812,"avatar_url":"https://avatars.githubusercontent.com/u/170812?v=3","gravatar_id":"","url":"https://api.github.com/users/zwaldowski","html_url":"https://github.com/zwaldowski","followers_url":"https://api.github.com/users/zwaldowski/followers","following_url":"https://api.github.com/users/zwaldowski/following{/other_user}","gists_url":"https://api.github.com/users/zwaldowski/gists{/gist_id}","starred_url":"https://api.github.com/users/zwaldowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zwaldowski/subscriptions","organizations_url":"https://api.github.com/users/zwaldowski/orgs","repos_url":"https://api.github.com/users/zwaldowski/repos","events_url":"https://api.github.com/users/zwaldowski/events{/privacy}","received_events_url":"https://api.github.com/users/zwaldowski/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jekyll-assets/jekyll-assets/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2013-07-21T23:52:02Z","updated_at":"2015-04-30T06:23:03Z","closed_at":"2013-07-23T23:41:13Z","body":"I'm almost certain that this is more a question for the Sprocket folks, but I'm also inexperienced enough with Ruby to feel the need to ask at the highest point in my stack.\r\n\r\nWe're currently using [retinajs](http://retinajs.com) for serving up double-sized assets to high-resolution screens, however migrating to jekyll-assets and using `asset_path` has left us with no copied `@2x` images in the resulting compiled site, since of course jekyll-assets thinks they're not being used anywhere.\r\n\r\nIs there any immediate quick-and-easy way to extend jekyll-assets+Sprocket to look for and copy these unreferenced files? I see that jekyll-assets is eminently patchable, I just don't know Ruby enough to know what to do with that information."},"comment":{"url":"https://api.github.com/repos/jekyll-assets/jekyll-assets/issues/comments/97676351","html_url":"https://github.com/jekyll-assets/jekyll-assets/issues/39#issuecomment-97676351","issue_url":"https://api.github.com/repos/jekyll-assets/jekyll-assets/issues/39","id":97676351,"user":{"login":"ixti","id":94782,"avatar_url":"https://avatars.githubusercontent.com/u/94782?v=3","gravatar_id":"","url":"https://api.github.com/users/ixti","html_url":"https://github.com/ixti","followers_url":"https://api.github.com/users/ixti/followers","following_url":"https://api.github.com/users/ixti/following{/other_user}","gists_url":"https://api.github.com/users/ixti/gists{/gist_id}","starred_url":"https://api.github.com/users/ixti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ixti/subscriptions","organizations_url":"https://api.github.com/users/ixti/orgs","repos_url":"https://api.github.com/users/ixti/repos","events_url":"https://api.github.com/users/ixti/events{/privacy}","received_events_url":"https://api.github.com/users/ixti/received_events","type":"User","site_admin":false},"created_at":"2015-04-30T06:23:03Z","updated_at":"2015-04-30T06:23:03Z","body":"It still works as I last time described :D\r\n\r\nBut I think of enhancing `image` tag helper to support `@2x` option, which will look something like this:\r\n\r\n``` html\r\n<!-- with defualt @2x suffix -->\r\n{% image header_bg.jpg [@2x] %}\r\n\r\n<!-- with custom suffix -->\r\n{% image header_bg.jpg [@2x:-retina] %}\r\n```"}}