Skip to content

About

Preserve HTML img structure when using Imagify AVIF or WebP images

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Castlegate IT WP Imagify Preserve HTML

Imagify replaces <img> elements with <picture> elements, which changes the HTML structure and can cause compatibility issues with styles and scripts. This plugin preserves the HTML structure by replacing image URLs with their AVIF or WebP equivalents before Imagify processes them, preventing them from being replaced with <picture> elements. Please be aware that this also removes the fallback to the original image format provided by the <picture> element.

License

Released under the MIT License. See LICENSE for details.

About

Preserve HTML img structure when using Imagify AVIF or WebP images

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages