Closed ioweb-gr closed 1 year ago
I'm not sure how this should be rewritten, but it seems logical to conclude that this is not working. Either override the PHTML template of this WebP extension to fix things following the AMP standards, or override the PHTML template of the AMP extension (if any), or skip WebP for AMP all together. The HTML that you are showing is definitely not going to work, but unfortunately I lack the personal interest for AMP to volunteer for a solution here.
I'm closing this ticket due to inactivity. Feel free to reopen if needed.
We have a case where we installed the module, and it seems to rewrite the images fine. On the browser's network tab I can see the webp extension on all image files. However when we switch to the AMP version of the website using Plumrocket_Amp module, even though the
<amp-img>
tags are rewritten to use webp, the browser is not actually using the webp version. So I'm thinking there must be something wrong with the implementation maybe?Here's the example of how the html code is rewritten
Without yireo_webp2
With yireo_webp2
Any ideas why the browser wouldn't render the webp version here?