Serving webp images from the Image Advanced field

Support Meta Box AIO Serving webp images from the Image Advanced fieldResolved

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #40245
    StanStan
    Participant

    I noticed when using caching plugins like Litespeed cache or shortpixel optimization and turning on a function to serve webp images when available that this doesn't work for Metabox image advanced field.
    The images added from the Image Advanced field are served only as jpg in this case.

    How can i enable this or include this?
    Could anyone help? I do have a snippets plugin available if code needs to go in a header and such.

    #40250
    PeterPeter
    Moderator

    Hello Stan,

    Did you try to test uploading webp images with other image fields or featured image of WordPress? Does the issue happen with only the image_advanced field?

    #40253
    StanStan
    Participant

    I found the problem. It wasn't fully Meta Box related, but WordPress.

    If lazy loading of WordPress is enabled (by default since 5.5 or something) i get the jpg (or other variants) loaded instead of webp.

    Anyone using webp images and plugins that optimize images should be aware of this.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.