Question and answer site for programmers

Automatic Retina images for web sites

With the new Apple MacBook Pro with retina display, if you provide a “standard” image on your website, it’ll be a little fuzzy. So you have to provide a retina image.

Is there a way to automatically switch to @2x images, like iOS (with Objective-C) does? What I’ve found is: How do I set retina graphics for my website?, but I wish I could find an automatic process for all my images, without CSS or JavaScript.