yireo / Yireo_Webp2

Magento 2 module to add WebP support to Magento 2
Open Software License 3.0
194 stars 54 forks source link

Generating webp image in pagebuilder banner #158

Closed bar-dom closed 6 months ago

bar-dom commented 6 months ago

Hello, the module was installed on magento ver. 2.4.6-p1 with hyva template. The webp images generate correctly, but for banners created in pagebuilder the images remain in the original format.

image

I understand that this is related to the HTML structure, but I am wondering if, in addition to changing the HTML structure of the banner, there is a way to detect and convert the image in the banner to webp format ?

Bashev commented 6 months ago

Switching Convert CSS Background to "Yes" will be enough

image

bar-dom commented 6 months ago

@Bashev Thanks for the solution.