Re:Retina.js: Retina graphics for your website
by wildmXranat on Friday April 20, 2012 @10:24AM
(#3867983)
Agree, I think the correct solution is to actually have a request filter on the server that correctly maps the img tag source to a high DPI version. Obviously, this would be a framework or server specific implementation, but this is the only correct way.
Re:Retina.js: Retina graphics for your website
by ricardobeat on Friday April 20, 2012 @11:00PM
(#3870722)
This library solves it by using a bit of specially-crafted html: https://github.com/adamdbradley/foresight.js
Ideally, we'd have something that would deliver only the correct image to the correct device, the first time. I haven't seen a clean method for achieving that yet.