Site accelerator damaging transparent background of WEBP images
-
I have used WEBP format on some images my site serves to keep them small and quick to load. A few of those images have transparent backgrounds.
When I turn on “Site Accelerator | Speed Up Image Load Times” the transparent background on my webp formatted images is turned black. The test page linked here demonstrates the problem.
I found a known issue that says:
Site Accelerator for images shouldn’t be used alongside plugins that convert images to WebP. Converting images to WebP prior to them being optimized by Site Accelerator may interfere with Site Accelerator’s process for serving WebP images.
But I am not using any plugins to mess with these images. They are created in GIMP and uploaded into the media archive just like a JPG or PNG file.
To get around this I have to either change the format of my images to PNG (which makes them substantially larger, but does preserve the transparent background), change the background to something that is not transparent in my WEBP images (not always a great idea), or convert them to JPG format, which also loses transparency.
None of those is optimal, but it seems to be what I am stuck with if I want to use the Site Accelerator.
As I am only using the free version of JetPack I don’t have direct access to their support people. If there are any other ways to get around this I would love to know it, and I think they should improve their support for transparency in WEBP images.
Thanks in advance for any suggestions on other fixes.
The page I need help with: [log in to see the link]
- The topic ‘Site accelerator damaging transparent background of WEBP images’ is closed to new replies.