black border on image popup

  • Posts: 8
  • Thank you received: 1
  • Hikashop Business
3 years 4 months ago #336661

-- url of the page with the problem -- : www.rozenwingerd.be/webshop/product/122-snoeptaart
-- HikaShop version -- : 4.4.4
-- Joomla version -- : 3.10.3
-- PHP version -- : 7.3.32

When I click on the image in my product page, it is not centered in the popup. It seems that the choice is always made to give the popup fixed values of width and height, creating a black area.

How can I make sure that only an image is shown in the popup, without a black border?

I use the shadowbox external option for the popups of the images.

Thank you very much for the help given.

PS, can someone change my username to 'Devil'? thanks in advance

Attachments:
Last edit: 3 years 4 months ago by Devil.

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

  • Posts: 83402
  • Thank you received: 13496
  • MODERATOR
3 years 4 months ago #336668

Hi,

I changed your username.
However, I couldn't access the page where you have the problem you're describing to check what's going on.
It requires to be logged in.
Could you provide a test user account so that we could access it ?

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

  • Posts: 8
  • Thank you received: 1
  • Hikashop Business
3 years 4 months ago #336798

Thanks for wanting to watch this. An account was sent by private message.

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

  • Posts: 83402
  • Thank you received: 13496
  • MODERATOR
3 years 4 months ago #336802

Hi,

The issue is that you've uploaded webp images as the images of your products and shadowbox, the library used for the popup system there, doesn't support webp images.
By default, this is not possible as webp images can't be uploaded in products. In fact, we don't recommend you do. You can just upload the normal jpg image of your product, and if you have the "Generate WebP images" setting activated in your HikaShop configuration, it will generate the WebP images for you. And in that case, it will provide the JPG image to shadowbox so that it can work properly. This also has the benefit of backward compatibility with old browsers not supporting the WebP image format.

The following user(s) said Thank You: Devil

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

  • Posts: 8
  • Thank you received: 1
  • Hikashop Business
3 years 4 months ago #336814

So that's the solution. :lol:

Now I have disabled webp images for the webshop and now I get a nice pop-up.

that I never thought of that before...

Thank you. Thread closed. :)

The following user(s) said Thank You: nicolas

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

Time to create page: 0.061 seconds
Powered by Kunena Forum