Skip to content
This repository has been archived by the owner on Jun 8, 2024. It is now read-only.

No WebP application on images built in shopping worlds and banners #102

Closed
markonelio opened this issue Oct 27, 2021 · 1 comment
Closed

Comments

@markonelio
Copy link

Question

Hello,

I installed the plugin but oddly only product pictures are getting loaded as WebP.

Images in digital publishing sliders or ones that are just built into shopping worlds as image-elements cannot be loaded as WebP. Is there something I can do, so every type of image gets loaded or is it a bug?

Thanks in advance!

@shyim
Copy link
Member

shyim commented Nov 7, 2021

It's not a general solution. It needs to be adjusted for each image tag.
See as example https://github.com/FriendsOfShopware/FroshWebP/blob/master/Resources/views/frontend/checkout/ajax_add_article.tpl#L16-L27

@shyim shyim closed this as completed Nov 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants