Archived topic
Change tags to tags could break theme?
3 replies · Started by Hilton on November 2, 2021
We are thinking about using the Imagify plugin ( https://app.imagify.io/ ) to optimize the images and generate WebP versions. But there is a warning that it can break the theme. I would like to know if there is any problem replacing tags with <picture> tags.
This is the alert:
The first option adds rewrite rules to your site’s configuration file (.htaccess) and does not alter your pages code. This does not work with CDN though. The second option replaces the tags with <picture> tags. This is the preferred solution but some themes may break, so make sure to verify that everything seems fine.
This is the printscreen https://prnt.sc/1y8ca7u
ps. Do you have any other recommendations for optimizing images for WebP?
Hi there,
We are thinking about using the Imagify plugin ( https://app.imagify.io/ ) to optimize the images and generate WebP versions. But there is a warning that it can break the theme. I would like to know if there is any problem replacing tags with <picture> tags.
There are users here who are already using Imagify with some success. It should work on your end as well but you may encounter some issues if you have img sourcing .svg files.
else, it should be fine. :D
Hi Elvin,
Thanks for the quick response ;)
No problem. :D