Hi @srillet
Unfortunately, when using Cloudflare then rewrite rules will not work.
The only way to display your WebP images is through <picture> tags.
However, since you cannot use rewrite rules you can check one of the two following options in order to fix any display images issues when using picture tags:
– You can try to use the following HTML class that can be added to the specific images, that are not displaying correctly, to prevent WebP display via <picture> tag replacement (the optimized JPG/PNG versions will be displayed instead). If you can add this HTML class to all of the specific images you don’t want to display in WebP, then the rest of the images can still be displayed in WebP format.
imagify-no-webp
– Or you could try to delete the WebP version of those images through FTP. WebP images will be located in the same folder in which the original format version of the images is located. So if the original format image is located at wp-content/uploads/2020/02/image.jpg, then its WebP version will be at wp-content/uploads/2020/02/image.jpg.webp You can delete WebP versions of images by connecting directly to the files on your website’s server using an FTP program. Using an FTP program, you will be able to delete your WebP files individually or in larger groups at the same time.
Depending on which FTP program you are using, you can search for .webp
or *.webp
, which will return all WebP images and you can then quickly select them all and delete. But be careful, as this would also return images or files that just have .webp
somewhere in their name or URL.
You can find further details on the following link https://imagify.io/documentation/delete-webp-images-website/
Let me know if you need any further assistance. I’ll be happy to help.
Best Regards,
Ioanna