WebP toggle for a single image does not work
-
Hello,
I am trying to disable WebP only for one specific WooCommerce product image, without disabling WebP for the entire website.
In the official documentation, under the “Next-Gen Image Format” section, it says that this option is a “master switch”, but that the use of next-gen formats should be controllable on an image-by-image basis from the Media Library using the
optm/non-optmtoggle.Also, in the “Changing Your Mind Image by Image” section, the documentation explains that it should be possible to switch a single image from optimized to non-optimized directly from the Media Library:
https://docs.litespeedtech.com/lscache/lscwp/imageopt/#changing-your-mind-image-by-image
However, in my case this does not work. In the “LiteSpeed Optimization” column of the Media Library, I see an “optimization” link next to the WebP entry, but when I click it, nothing changes. No real
optm/non-optmswitch appears, the label does not change, and the image continues to be served as.jpg.webp.The issue affects a product photo with a label and small text. The original JPG is around 120–185 KB and looks sharp, while the generated WebP is around 16 KB and is visibly worse.
Perhaps I am missing something, which is why I would like to understand:
- What is the correct procedure to disable WebP only for a single image?
- Is there any other official method, hook, or filter to exclude a single image from WebP serving?
Last Report Number: IHCIPMLV
Thank you,
Dalila
You must be logged in to reply to this topic.