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.
Released under the MIT License. See LICENSE for details.