Jump to content

Retina Image Support

Recommended Posts

I think it would be great to add retina support. I think this could be done using a plugin rather than written into core?


Perhaps we can start a discussion about developing it here if people are interested?


I guess that the plugins already have access to the viewport information since some of this is available to the Delivery Limitations Plugin. Then you'd need to scale a copy of the image when the user uploads a double-resolution image producing two copies, one with @2x appended to the basename. Then when a request comes in the server would check the viewport (fallback?) and serve the correct image.



Share this post

Link to post
Share on other sites

Sorry, wasn't subscribed to updates.
Yes, I could do that but the image tag/CSS also has to be updated, otherwise the image will just appear at twice the size.
Ideally it would simply add the attribute


to the image tag, alongside the link to the original source.

Share this post

Link to post
Share on other sites

I second (or third) this feature request! :)

I'm currently trying to get retina images to display in an app on iOS/Android. Using CSS to display retina images works great on websites, but isn't as successful in apps (so far). Does anyone have any workarounds for displaying retina images at this point?

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...