• Priority: 0
  • Status: Waiting on customer
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 28.01.24, 16:09
  • Opened by: Constantin Matel

Ticket #25252 - Product Image Zoom not working and webp image

Hi, few days ago i saw a ticket related to products image zoom (Ticket 25248), but now it seems that is private.
I have the same problem with product image zoom, when i click image nothing happens, also i see that if i have webp option enabled in prestashop image settings and i have all images converted in webp, are loaded in jpg.

Comments

Fred 29 Jan 2024, 10:01

Hi, Constantin.
Try to upload this fixed file into /themes/alysum/assets/js/ folder

Attachments:

theme.js (179.7 KiB)
jorge medina 09 Feb 2024, 16:50

Hello, I have this same problem, I updated the theme.js file and the zoom now works but the images continue to load in jpg even when I have activated and generated webp, Does this file fix the webp bug? or another modification must be made.

Fred 09 Feb 2024, 16:57

That's not a bug but Prestashop's workaround to display webp format - https://github.com/PrestaShop/PrestaShop/issues/31301 images actually have webp format despite you see them as jpg.

We are going to add webp/avif support in Alysum theme version 9.0
So for now just ignore that