• Resolved maryb1

    (@maryb1)


    Hello,

    I see it says Optimole supports both Retina and WebP images.

    Regarding retina images, what are the best practices at my end? Does that mean I should upload each image once, but at a size twice what is needed for regular screens, and Optimole will automatically generate images half that size for regular screesn and show the full size images on retina screens? Do I need to add @2x to the file names?

    As for WebP images, if I understand correctly, I simply export my images as .jpg and .png files as usual and Optimole generates WebP for browsers that support them?

    Thanks so much!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author optimole

    (@optimole)

    Hello @maryb1,

    Yes, Optimole will generate the retina images based on your original images, but the retina image will not exceed the original image size.

    I.e if your original image size is 1000px in width, and you use that in a 500px container, the non-retina users will receive a container-sized image of 500px, and retina ones will get 2x the size of the normal one, i.e 1000px.

    I would recommend you to upload images in the size in at least the retina size of them and we will take care of the rest.

    You don’t need any specific naming of them, i.e @2x or something, that is not necessary.

    For WebP, yes, Optimole will serve the appropriate format for each browser, indifferent of the original format, i.e JPG, PNG, etc.

    I hope this helps.

    Thread Starter maryb1

    (@maryb1)

    It helps a lot, thank you! ??

    @optimole For some reason, the wordpress plugin doesn’t replace the URLs for images that have “@2x” in their file name. Replacing the image with a new one that doesn’t have “@2x” seems to work fine, and manually checking the optimole URL also works fine. Do you have any idea of what is going on?

    EDIT: It appears that this is due to WP Total Cache, even with all caching disabled. It also breaks the lazy loading for some reason, as long as the plugin is active, so I’m switching back to WP SuperCache. Do you have plans to be compatible with WP Total Cache?

    • This reply was modified 5 years, 2 months ago by vinodc.
    • This reply was modified 5 years, 2 months ago by vinodc.

    We are constantly working on improving compatibility with most used plugins and WP Total Cache is part of the back log. But we can’t tell you when a release will be available.

    We did take note of some of the things you mentioned, it should help us identify some of the changes required.

    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Understanging retina and WebP support’ is closed to new replies.