[Skip to main content](#vessel-content)

#   black border on image popup

##

- **[Devil](/forum/user/59651-devil "View Devil's Profile")**
- [![Devil's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/59651-devil "View Devil's Profile") Topic Author
- [ Offline](/forum/user/59651-devil)

Less More

- Posts: 8
- Thank you received: 1
-
-
-

5 years 4 weeks ago -  5 years 4 weeks ago [\#336661](#336661) by [Devil](/forum/user/59651-devil "View Devil's Profile")  *[black border on image popup](/forum/26-product-category-display/903388-black-border-on-image-popup#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")* was created by *[Devil](/forum/user/59651-devil "View Devil's Profile")*

-- url of the page with the problem -- : [ www.rozenwingerd.be/webshop/product/122-snoeptaart](https://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

- [ ![zwarterand01.png](/forum/attachment/53775) ](/forum/attachment/53775 "zwarterand01.png") [ ](/forum/attachment/53775?download=1 "zwarterand01.png")
- [ ![zwarterand02.png](/forum/attachment/53776) ](/forum/attachment/53776 "zwarterand02.png") [ ](/forum/attachment/53776?download=1 "zwarterand02.png")

Last edit: 5 years 4 weeks ago by [Devil](/forum/user/59651-devil "View Devil's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDMzODgtYmxhY2stYm9yZGVyLW9uLWltYWdlLXBvcHVwP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

5 years 3 weeks ago [\#336668](#336668) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[black border on image popup](/forum/26-product-category-display/903388-black-border-on-image-popup#336668 "-- 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")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDMzODgtYmxhY2stYm9yZGVyLW9uLWltYWdlLXBvcHVwP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Devil](/forum/user/59651-devil "View Devil's Profile")**
- [![Devil's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/59651-devil "View Devil's Profile") Topic Author
- [ Offline](/forum/user/59651-devil)

Less More

- Posts: 8
- Thank you received: 1
-
-
-

5 years 3 weeks ago [\#336798](#336798) by [Devil](/forum/user/59651-devil "View Devil's Profile")  Replied by *[Devil](/forum/user/59651-devil "View Devil's Profile")* on topic *[black border on image popup](/forum/26-product-category-display/903388-black-border-on-image-popup#336798 "-- 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")*

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDMzODgtYmxhY2stYm9yZGVyLW9uLWltYWdlLXBvcHVwP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

5 years 3 weeks ago [\#336802](#336802) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[black border on image popup](/forum/26-product-category-display/903388-black-border-on-image-popup#336802 "-- 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")*

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](/forum/user/59651-devil "View Devil's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDMzODgtYmxhY2stYm9yZGVyLW9uLWltYWdlLXBvcHVwP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Devil](/forum/user/59651-devil "View Devil's Profile")**
- [![Devil's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/59651-devil "View Devil's Profile") Topic Author
- [ Offline](/forum/user/59651-devil)

Less More

- Posts: 8
- Thank you received: 1
-
-
-

5 years 3 weeks ago [\#336814](#336814) by [Devil](/forum/user/59651-devil "View Devil's Profile")  Replied by *[Devil](/forum/user/59651-devil "View Devil's Profile")* on topic *[black border on image popup](/forum/26-product-category-display/903388-black-border-on-image-popup#336814 "-- 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")*

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. ![:)](/media/kunena/emoticons/3.png ":)")

The following user(s) said Thank You: [nicolas](/forum/user/63-nicolas "View nicolas's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDMzODgtYmxhY2stYm9yZGVyLW9uLWltYWdlLXBvcHVwP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.078 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
