• Resolved Idenovasi

    (@idenovasi)


    Hi,
    Is there any hook to exclude webp from certain location? the picture tag broke the layout.

    Thanks!

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author WP Media

    (@wp_media)

    Hi @idenovasi!

    This is Joseph from Imagify, and I’ll gladly assist you here!

    Unfortunately, we don’t have a hook at the moment to allow you to exclude WebP from certain locations.

    What can be done to prevent the picture tag replacement for the images that are giving you issues, is you can use an FTP program to delete those specific WebP images. If no WebP image exists for a particular image, then no replacement with picture tags happens.

    If you do this, I would recommend saving local copies of the WebP images you delete, because widespread adoption of support for them in Safari browsers seems to be approaching. In Apple’s recent 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. You can track browser support for WebP at https://caniuse.com/webp.

    If an option to exclude specific images from picture tag replacement does become available, I’ll make sure to update this post so you know.

    Please let me know if you have any further questions on this and I’ll be more than happy to assist!

    Best regards,
    Joseph

Viewing 1 replies (of 1 total)

The topic ‘Exclude webp’ is closed to new replies.