I'm a huge fan of the way retina.js works for high pixel density displays. Essentially, when it's loading image assets (via
<img> or css image) it will check if there's a
@2x suffix version of the image (eg. if there's a
logo.jpg it will automatically show the
firstname.lastname@example.org in its place if it exists.
The WordPress function
the_post_thumbnail lets me define various image sizes, but I want to know if there's a way to have it also create versions of the images that are twice the size with the
@2x suffix as well!
It's easy to do this for theme files, but would be pretty awesome to allow this for content images as well.