My images are broken
Starting in v1.9 of Imagify, we introduced the possibility to convert your images to WebP format.
There are two different ways to display WebP images on your site:
- Use <picture> Tags Option
- Use Rewrite Rules Option
Use <picture> Tags Option
This option replaces the <img> tags with <picture> tags. This is the default solution, but it’s possible some themes may break, so make sure to verify that all seems fine. If you do find any issues, you may need to switch to the rewrite rules option.
Use Rewrite Rules Option
This option adds rewrite rules to your site’s configuration file (.htaccess) and does not alter your page’s code. Using rewrite rules will not cause the image display issues (if it does, don’t hesitate to contact us for help via our Support channel), but this option cannot be used if your site uses a CDN or Cloudflare.
Apache Rewrite Rules
On Apache, Imagify is able to automatically add the code to .htaccess file, so there is no further action required. The code will look like this:
Nginx Rewrite Rules
On Nginx, however, Imagify is not able to automatically add these rules, so it’s necessary to add them manually to nginx.config file. Code to apply is:
Your feedback has been sent to our team We value every bit of feedback we receive as it helps us to improve our products and services. Thank you for your time.