• Hi Jordy,

    As far as I understand, retina images are supported with respect to the images defined for the theme through WP add_image_size(). But what if the user uploads an image that does not fit that defined sizes?

    In other words, say we have a thumbnail size of 1200px width. I would like this width to be a maximum width. That is if the user uploads a 2400p-wide image no problem, the plugin takes care of the two sizes (2400 and 1200).

    But what if the user wants a fixed 800p-wide image inside the 1200p container, providing a 1600p-wide image? Does the plugin handle that? I assume not. Is there a way for that use case to be handled?

    Hope I made myself clear enough…

    https://wordpress.org/plugins/wp-retina-2x/

Viewing 1 replies (of 1 total)
  • Plugin Author Jordy Meow

    (@tigroumeow)

    Hello,

    I am not sure I understand, indeed… I feel like there is something you didn’t understand about the plugin. But you got the first part for sure, the plugin works with the registered image sizes.

    Consider the plugin has being a bonus for your images. Whatever works with your normal images sizes will become Retina on Retina devices.

    If your current logic work with your non-retina images, it will work with retina. That’s pretty much it.

    I an not sure why you are saying that you want a 800px wide image inside a 1200px container. I’d rather go for the 1600px for that one. Then retina would load a 2400px. It’s not 100% optimized but 99% websites do that, they use images that are always slighlty too big for their container.

Viewing 1 replies (of 1 total)
  • The topic ‘Retina images for images not defined by add_image_size()’ is closed to new replies.