Hi @britta29,
This is Joseph from Imagify, and I’ll gladly assist you here!
I’m really sorry you’re having issues with this!
There are a few options for you:
1) You can try switching to the “Use rewrite rules” option in your Imagify plugin settings page as long as you don’t use a CDN, Cloudflare, or certain cache services like Varnish (as these conflict and may cause image display issues in older browsers that don’t support WebP images). This option doesn’t cause the layout issues you’re having.
When using this option, the HTML code of your pages will still show the JPG or PNG versions of images, but the rewrite rules work in the background to actually serve the WebP versions.
You can follow the Rewrite Rules section of this guide to check that WebP images are being served: https://imagify.io/documentation/how-to-check-if-webp-image-is-displayed-on-your-site/.
2) If you can’t use the “Use rewrite rules” option due to any of the listed reasons, then you can try installing this helper plugin that can sometimes help with these kinds of issues (works just by activating it):
https://github.com/wp-media/imagify-helpers/raw/master/webp/imagify-keep-attributes-on-img-tags/imagify-keep-attributes-on-img-tags.zip
3) If neither of those work, you can share a link to the site so I can take a closer look and see if I can suggest any custom CSS to get things back to how they should be.
I’ll look forward to your response and I’ll be glad to continue assisting however I can!
Best regards,
Joseph
Hi Joseph,
thank you very much for your quick and useful feedback!
Switching to “Use rewrite rules” did the trick 🙂
Kind regards,
Britta
Hey Britta,
I’m really glad to hear that the “Use rewrite rules” option worked, and thank you for confirming that with me!
Hope you have a great rest of your day and weekend 🙂
Best regards,
Joseph