Image display problem for a product

  • Posts: 46
  • Thank you received: 2
3 years 10 months ago #332312

-- HikaShop version -- : 4.4.2
-- Joomla version -- : 3.9.26
-- PHP version -- : 7.4.16

Hello,
I am having a strange image display problem which I cannot figure out.
All of my product images display fine except for one product.
I know that this comes from JCH optimize because by deactivating it they are displayed again.
I try adjustments by excluding some js file but which gives nothing:
../js/hikashop.js
../com_hikashop/js/vex.min.js
Or by extension: com_hikashop

Thank you in advance for your advice

Please Log in or Create an account to join the conversation.

  • Posts: 83403
  • Thank you received: 13497
  • MODERATOR
3 years 10 months ago #332313

Hi,

I'm not sure what's going on.
I can see that on your website, the image tags have additional attributes srcset and data-srcset which are probably added by JCH Optimize, and on your link, the srcset contains the data of an empty image, instead of the URL of the image like on other pages.
But I don't know why.
Maybe it's because these images have been optimized and not others ? www.jch-optimize.net/documentation/optimize-image.html
Maybe turning off the "Generate WebP images" setting of the HikaShop configuration might help circumvent the problem ?
The best would be to ask JCH Optimize's support as I don't know how they do this.

The following user(s) said Thank You: philament

Please Log in or Create an account to join the conversation.

  • Posts: 46
  • Thank you received: 2
3 years 10 months ago #332346

Hi,
thank you Nicolas for your feedback. image optimization with JCH was not enabled, but after disabling the "Generate WebP images" option in Hika everything is back to normal.

beautiful day

Please Log in or Create an account to join the conversation.

Time to create page: 0.057 seconds
Powered by Kunena Forum