-
Notifications
You must be signed in to change notification settings - Fork 25
HTML remains unchanged #59
Comments
Did you enabled webp in the plugin config? |
Yes, I have. I'm using a template that inherits from the "Responsive" base template. It works on a different server that doesn't use Plesk. So it might have to do with that. Is there some check implemented on the template level? I'm not sure |
Another thing: when running In any case, if I enable Smarty debugging, there are "webp" entries among the article thumbnails. But they're not used in the output. |
Ok, so it kinda works, if I copy for example the plugin's |
Did you done both commands? |
Well, that's not what the installation instruction says, which is to run But it also tried to convert the SVG files, which failed. We use one for the site logo, and that one's missing now. The generated HTML has changed and refers to a WebP image that doesn't exist. Strangely, the browser doesn't fall back on the also referenced SVG file in the HTML but insists to show the broken WebP file instead. What gives? |
PHP cannot handle svg ad Image. WebP should be ignored on svg |
I've just tried it again with some banners, and it wasn't enough to run That's ok for small albums like the one for banners, since you can pass the albumId as parameter. But if the product images change (new products added) and you must force re-generating all of them not just the new ones, it can take hours during which at least some images will be broken on the website. Not good. Why is it that |
Actual behaviour
HTML is not changed, but (some?) WebP images are generated (present in
media/image
folders). But it seems like only for the base images, not the thumbnails with the dimension suffix (e.g.200x200
and thelike).The status page thinks there are no WebP encoders, but encoding actually works on the command line (status there is "OK" as well).
Expected behaviour
All WebP images should be created and the generated HTML should include the WebP images instead of PNG ones.
Environment
Shopware 5.6.3
Plugin 1.1.0 and Google Binary only
PHP 7.2.27
Webspace configured via Plesk Obsidian 18.0.21
Steps to reproduce
Checklist
The text was updated successfully, but these errors were encountered: