Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #46918
    Daniel
    Guest

    Hi.
    I’ve just activated the Webp Conversion and it converted some of the images, but when I access a post with one of the converted images, they’re still being served as jpeg.
    I’ve updated the NGINX rules according to the Install part of the plugin and cleared all caches, but it’s still not serving.

    #46928
    Marko Vasiljevic
    Keymaster

    Hello Daniel,

    Thank you for reaching out and I am happy to assist you with this.
    As I can ee images are converted:
    https://blendup.art/wp-content/uploads/2021/12/significado_tatuagem_cruz_malta_7-768×613.webp
    I can see that you are using Cloudflare. Have you purged the W3TC and Cloudflare cache and have you checked the Cloudflare Browser Cache TTL?
    Also, If you find that your original image has been converted to WebP, but other image sizes are missing WebP versions, you may need to double-check that your WordPress environment supports the WebP format.

    While the original image is converted via our API service, the different sizes (e.g. Large, Medium, Thumbnail) are created by your own server. For this, you must have WordPress 5.8 and the appropriate libGD or ImageMagick package available on your server.

    To check if your WordPress environment supports WebP, navigate to Site Health > Info > Media Handling and double-check that WebP is listed in the supported file formats for the library shown in the Active editor. If you find these are missing the WebP extension, consult your system administrator to set up the correct packages.
    media handling supported file formats
    I hope this helps!
    Thanks!

    #46930
    Daniel
    Guest

    Thanks for your answer.
    I’ve cleaned W3TC a couple times, purging all caches, also did cleanup Cloudflare with a purge everything and made sure to restart the server.

    It’s a NGINX server (NGINX + PHP + MYSQL) that I host on a small VPS, and it indeed has Imagick and support for webP. It also has GD installed and webP is supported
    How do I regenerate all images, as it’s around 2000 images and the plugin doesn’t do it right?

    View post on imgur.com

    #46991
    Marko Vasiljevic
    Keymaster

    Hello Daniel,

    Thank you for the information.
    As I can see the images you converted are now being served as webp:
    image of tattoo being served in webp format
    This means that the Image conversion is working as expected. The fact that ImageMagic supports webp means that other formats of the image are also converted.
    Enabling the Image Service Extension also adds the Total Cache Image Service under Media in the WordPress admin menu, which allows for bulk conversions or reversions of the entire Media Library at once. Use the Convert All or Revert All buttons in the Tools section to manage your WebP image conversions for the entire Media Library at once.
    You can do this in Performance>Extensions>Image Service settings:bulk webp image conversion or reversion
    Thanks!

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Nginx not serving Webp Images’ is closed to new replies.