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

#   webp bug

##

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

Less More

- Posts: 239
- Thank you received: 8
-
-

1 year 11 months ago [\#364669](#364669) by [Bender](/forum/user/38688-bender "View Bender's Profile")  *[webp bug](/forum/26-product-category-display/908917-webp-bug#364669 "-- HikaShop version -- : 5.1.1 -- Joomla version -- : ‎5.2.0 -- PHP version -- : 8.2.25 -- Browser(s) name and version -- : 131.0.6778.86 Chrome -- Error-message(debug-mod must be tuned on) -- : no errors  There is one product, for some reason it displays one image, but the product itself does not have such an image. I looked there to see why the webp image was attached, but it is from another product. There must be some error in the logic.")* was created by *[Bender](/forum/user/38688-bender "View Bender's Profile")*

-- HikaShop version -- : 5.1.1
-- Joomla version -- : ‎5.2.0
-- PHP version -- : 8.2.25
-- Browser(s) name and version -- : 131.0.6778.86 Chrome
-- Error-message(debug-mod must be tuned on) -- : no errors

There is one product, for some reason it displays one image, but the product itself does not have such an image. I looked there to see why the webp image was attached, but it is from another product. There must be some error in the logic.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDg5MTctd2VicC1idWc/dG1wbD1tYXJrZG93bg==) 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: 86575
- Thank you received: 14318
-
-

1 year 11 months ago [\#364673](#364673) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[webp bug](/forum/26-product-category-display/908917-webp-bug#364673 "-- HikaShop version -- : 5.1.1 -- Joomla version -- : ‎5.2.0 -- PHP version -- : 8.2.25 -- Browser(s) name and version -- : 131.0.6778.86 Chrome -- Error-message(debug-mod must be tuned on) -- : no errors  There is one product, for some reason it displays one image, but the product itself does not have such an image. I looked there to see why the webp image was attached, but it is from another product. There must be some error in the logic.")*

Hi,

When a product has no image, HikaShop will use the "default image" configured under the Main tab of the HikaShop configuration:
[ www.hikashop.com/support/documentation/5...fig.html#main\_images](https://www.hikashop.com/support/documentation/54-hikashop-config.html#main_images)
I would recommend checking this first.

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

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

Less More

- Posts: 239
- Thank you received: 8
-
-

1 year 11 months ago [\#364678](#364678) by [Bender](/forum/user/38688-bender "View Bender's Profile")  Replied by *[Bender](/forum/user/38688-bender "View Bender's Profile")* on topic *[webp bug](/forum/26-product-category-display/908917-webp-bug#364678 "-- HikaShop version -- : 5.1.1 -- Joomla version -- : ‎5.2.0 -- PHP version -- : 8.2.25 -- Browser(s) name and version -- : 131.0.6778.86 Chrome -- Error-message(debug-mod must be tuned on) -- : no errors  There is one product, for some reason it displays one image, but the product itself does not have such an image. I looked there to see why the webp image was attached, but it is from another product. There must be some error in the logic.")*

You don't get it. The product page displays an image that belongs to another product.
But this image is not in the attached product images.
At the same time, on the product page itself, when loading, one image is displayed first, but if you hover the mouse over it, another one will be displayed.

Go to the page that is attached to the topic, there, when loading, you will see the main product image, this image belongs to another product. If you hover the mouse over the thumbnails under the main image, you will see that this first image does not match.

It is unknown how it appeared on this page, it should not be there at all.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDg5MTctd2VicC1idWc/dG1wbD1tYXJrZG93bg==) 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: 86575
- Thank you received: 14318
-
-

1 year 11 months ago [\#364680](#364680) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[webp bug](/forum/26-product-category-display/908917-webp-bug#364680 "-- HikaShop version -- : 5.1.1 -- Joomla version -- : ‎5.2.0 -- PHP version -- : 8.2.25 -- Browser(s) name and version -- : 131.0.6778.86 Chrome -- Error-message(debug-mod must be tuned on) -- : no errors  There is one product, for some reason it displays one image, but the product itself does not have such an image. I looked there to see why the webp image was attached, but it is from another product. There must be some error in the logic.")*

Hi,

Ok, I see what you mean.
The issue is indeed not linked to the default image.

The main image is /images/com_hikashop/upload/1.jpg on that page.
The thumbnail is /images/com_hikashop/upload/thumbnails/400x400f/1.jpg which matches with the main image.
Since you have the "add webp image" setting activated in the HikaShop configuration, HikaShop will generate a webp image for the image if none has already been generated, and then add it in the HTML next to the jpg one.
The webp image is /images/com_hikashop/upload/thumbnails/400x400f/1.webp and this one doesn't correspond to the jpg image.

Here is what I think happened:
- you added an image called 1.jpg at some point for a product.
- HikaShop generated the thumbnails/400x400f/1.jpg and thumbnails/400x400f/1.webp files for it.
- you deleted the image from the product, which lead to HikaShop also deleting the thumbnails/400x400f/1.jpg thumbnail. HikaShop doesn't delete the webp image as the support for webp was added after the deletion of thumbnail files and I didn't think about this case when doing so.
- you then added another image also called 1.jpg for another product.
- HikaShop generated the thumbnails/400x400f/1.jpg for it, but since the webp thumbnail from the previous image file was still there, it didn't regenerate it.

So, the solution in your case it quite easy. Delete the /images/com_hikashop/upload/thumbnails/400x400f/1.webp file via FTP or the Joomla media manager and HikaShop will regenerate it from the current 1.jpg main file.
On our end, we'll look at adding support for webp thumbnails deletion when the main file is being deleted.

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

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

Less More

- Posts: 239
- Thank you received: 8
-
-

1 year 11 months ago [\#364697](#364697) by [Bender](/forum/user/38688-bender "View Bender's Profile")  Replied by *[Bender](/forum/user/38688-bender "View Bender's Profile")* on topic *[webp bug](/forum/26-product-category-display/908917-webp-bug#364697 "-- HikaShop version -- : 5.1.1 -- Joomla version -- : ‎5.2.0 -- PHP version -- : 8.2.25 -- Browser(s) name and version -- : 131.0.6778.86 Chrome -- Error-message(debug-mod must be tuned on) -- : no errors  There is one product, for some reason it displays one image, but the product itself does not have such an image. I looked there to see why the webp image was attached, but it is from another product. There must be some error in the logic.")*

Thank you, I really deleted several webp files and the product became in order. We will continue to observe.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDg5MTctd2VicC1idWc/dG1wbD1tYXJrZG93bg==) 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.083 seconds

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