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

#   when I upload images to the product hikashop changes the name

##

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

Less More

- Posts: 41
- Thank you received: 1
-
-

7 years 11 months ago [\#301009](#301009) by [motocasionweb](/forum/user/54615-motocasionweb "View motocasionweb's Profile")  *[when I upload images to the product hikashop changes the name](/forum/26-product-category-display/896336-when-i-upload-images-to-the-product-hikashop-changes-the-name#301009 "-- url of the page with the problem -- :   www.indianmotos.es/pruebamotocasion/  -- HikaShop version -- : 4.0.1 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.3.29  Hi! I've just realize that when I upload images to the product hikashop changes the name adding numbers at the end. For example: my image's name before upload: moto.jpg, my image's name after upload : moto&#95;17502633.jpg  I would like the name of the image not to be modified. It's that possible?  Thanks.  Best regards.")* was created by *[motocasionweb](/forum/user/54615-motocasionweb "View motocasionweb's Profile")*

-- url of the page with the problem -- : [ www.indianmotos.es/pruebamotocasion/](http://www.indianmotos.es/pruebamotocasion/)
-- HikaShop version -- : 4.0.1
-- Joomla version -- : 3.4.8
-- PHP version -- : 5.3.29

Hi! I've just realize that when I upload images to the product hikashop changes the name adding numbers at the end.
For example:
my image's name before upload: moto.jpg,
my image's name after upload : moto_17502633.jpg

I would like the name of the image not to be modified. It's that possible?

Thanks.

Best regards.

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

7 years 11 months ago [\#301011](#301011) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[when I upload images to the product hikashop changes the name](/forum/26-product-category-display/896336-when-i-upload-images-to-the-product-hikashop-changes-the-name#301011 "-- url of the page with the problem -- :   www.indianmotos.es/pruebamotocasion/  -- HikaShop version -- : 4.0.1 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.3.29  Hi! I've just realize that when I upload images to the product hikashop changes the name adding numbers at the end. For example: my image's name before upload: moto.jpg, my image's name after upload : moto&#95;17502633.jpg  I would like the name of the image not to be modified. It's that possible?  Thanks.  Best regards.")*

Hello,

If HikaShop modify the name of the file, it means that you already have a file with that name in the upload folder.
HikaShop avoid the replacement/deletion of the existing image since that image is already used by other products (or category..)

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

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

Less More

- Posts: 282
- Thank you received: 42
-
-

2 weeks 1 day ago [\#100000231](#100000231) by [oxido](/forum/user/29793-oxido "View oxido's Profile")  Replied by *[oxido](/forum/user/29793-oxido "View oxido's Profile")* on topic *[when I upload images to the product hikashop changes the name](/forum/26-product-category-display/896336-when-i-upload-images-to-the-product-hikashop-changes-the-name#100000231 "-- url of the page with the problem -- :   www.indianmotos.es/pruebamotocasion/  -- HikaShop version -- : 4.0.1 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.3.29  Hi! I've just realize that when I upload images to the product hikashop changes the name adding numbers at the end. For example: my image's name before upload: moto.jpg, my image's name after upload : moto&#95;17502633.jpg  I would like the name of the image not to be modified. It's that possible?  Thanks.  Best regards.")*

Hikashop is not immune to this issue with WebP images.
If a user uploads two images for two different products while the "Generate WebP images" option is enabled, the filename is preserved.
Example involving two different products:
Product 1 has the image &#96;c1.jpg&#96;.
Product 2 has the image &#96;c1.png&#96;.
Both will display the same image, &#96;c1.webp&#96;; the visible image will be that of the last product uploaded.

Yes, I know this is an issue for lazy people who can't be bothered to give the uploaded file a proper name; I actually ran into this myself—a site administrator named several book covers "c1" and "c2" for many books.
I’ve informed them that they need to include the book title in the image filenames, but I thought it would be good for you to be aware of the situation.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTYzMzYtd2hlbi1pLXVwbG9hZC1pbWFnZXMtdG8tdGhlLXByb2R1Y3QtaGlrYXNob3AtY2hhbmdlcy10aGUtbmFtZT90bXBsPW1hcmtkb3du) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86295
- Thank you received: 14273
-
-

2 weeks 1 day ago [\#100000234](#100000234) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[when I upload images to the product hikashop changes the name](/forum/26-product-category-display/896336-when-i-upload-images-to-the-product-hikashop-changes-the-name#100000234 "-- url of the page with the problem -- :   www.indianmotos.es/pruebamotocasion/  -- HikaShop version -- : 4.0.1 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.3.29  Hi! I've just realize that when I upload images to the product hikashop changes the name adding numbers at the end. For example: my image's name before upload: moto.jpg, my image's name after upload : moto&#95;17502633.jpg  I would like the name of the image not to be modified. It's that possible?  Thanks.  Best regards.")*

Hi,

Thank you for the report, you are right. When "Generate WebP images" is on, HikaShop makes the WebP copy of an image by replacing its extension with .webp, so c1.jpg and c1.png both get the same c1.webp copy (in the thumbnails folders), and whichever of the two images had its thumbnails made last is the one shown for both products by the browsers that use WebP.

We have changed this so that the copy is named after the whole name of the image (c1.jpg.webp and c1.png.webp), which keeps them apart whatever names are given to the images. The same goes for the AVIF copies. The change has been added on our end. In order to get it, download again the install package of the 6.7.0 on our website and install it on your website. After updating, the new copies are made automatically the next time the images are displayed, there is nothing to set.

Until then, giving the images different names, as you asked the administrator to do, avoids the problem. For the images that already clash, rename one of them and then delete the folder images/com_hikashop/upload/thumbnails (HikaShop recreates the thumbnails and their WebP copies on the next display), otherwise the old c1.webp copy keeps being shown.

Finally, note that in order to improve SEO, it's better to have descriptive filenames for the images, so your client should really avoid c1.png-like filenames. It's more work, but it's worth it.

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

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

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

[](#top)
