Title: Imagify using http rules for webp srcset
Last modified: January 3, 2022

---

# Imagify using http rules for webp srcset

 *  Resolved [Ibby](https://wordpress.org/support/users/ibby/)
 * (@ibby)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/imagify-using-http-rules-for-webp-srcset/)
 * Hi,
    I am using webp replacement on a website with the picture tag option. I’ve
   noticed some images do not load and when looking at the inspector it seems to
   be because the picture srcset is using a non-SSL URL. When I change it back to
   https in the inspector, the image appears again. Please can you assist?

Viewing 1 replies (of 1 total)

 *  Plugin Author [WP Media](https://wordpress.org/support/users/wp_media/)
 * (@wp_media)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/imagify-using-http-rules-for-webp-srcset/#post-15214506)
 * Hi [@ibby](https://wordpress.org/support/users/ibby/),
 * This is Joseph from Imagify, and I’ll gladly assist you here!
 * I’m really sorry you’re having issues with this!
 * Generally, this means there is a conflict between Imagify’s “Use picture tags”
   option for WebP display and a lazy loading script being applied to your images.
 * To resolve this, 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,
   especially in Safari browsers).
 * It’s worth noting that when using the rewrite rules 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/](https://imagify.io/documentation/how-to-check-if-webp-image-is-displayed-on-your-site/).
 * If the “Use rewrite rules” option can’t work for you, then you could also try
   finding a different lazy loading service/plugin to see if it might work better
   with the “Use picture tags” option.
 * If not, then here is what I might suggest for you going forward:
 * In Apple’s Big Sur 11 update, they introduced support for WebP images in their
   newest version of Safari. Once this update is widely adopted by users and the
   older versions of Safari are no longer widely used, you’ll be able to safely 
   link directly to your WebP images without the need for Imagify’s “Use picture
   tags” or “Use rewrite rules” options to provide fallback support.
 * I know there are some who have already made this choice, but many are also choosing
   to wait a while longer. When exactly support is widespread enough for you to 
   make this change is a judgment call on your end (there will always be some small
   number of slow adopters still using older systems and browsers).
 * You can track browser support for WebP to help with this decision at [https://caniuse.com/webp](https://caniuse.com/webp).
 * Please let me know if you have any further questions on this and I’ll be very
   happy to assist however I can!
 * Best regards,
    Joseph

Viewing 1 replies (of 1 total)

The topic ‘Imagify using http rules for webp srcset’ is closed to new replies.

 * ![](https://ps.w.org/imagify/assets/icon-256x256.gif?rev=3452959)
 * [Imagify: Optimize Images for Top Speed (Compress & Convert to WebP/AVIF)](https://wordpress.org/plugins/imagify/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/imagify/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/imagify/)
 * [Active Topics](https://wordpress.org/support/plugin/imagify/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/imagify/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/imagify/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [WP Media](https://wordpress.org/support/users/wp_media/)
 * Last activity: [4 years, 5 months ago](https://wordpress.org/support/topic/imagify-using-http-rules-for-webp-srcset/#post-15214506)
 * Status: resolved