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

#   Delete thumbnail images?

##

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

Less More

- Posts: 16
- Thank you received: 0
-
-

14 years 4 months ago [\#56217](#56217) by [leez300](/forum/user/6329-leez300 "View leez300's Profile")  *[Delete thumbnail images?](/forum/4-how-to/56217-delete-thumbnail-images#56217 "Hi Nicolas,  Need to exchange product images with new ones, this works fine from the products page, however the corresponding old thumbnail image files in upload folders are not deleted. I end up having both the old and the new thumbnail files. Using 1.5.7 Business. How can I solve this without manually deleting the old thumbnails one by one in the various upload/thumbnail folders?  Thks...")* was created by *[leez300](/forum/user/6329-leez300 "View leez300's Profile")*

Hi Nicolas,

Need to exchange product images with new ones, this works fine from the products page, however the corresponding old thumbnail image files in upload folders are not deleted. I end up having both the old and the new thumbnail files. Using 1.5.7 Business. How can I solve this without manually deleting the old thumbnails one by one in the various upload/thumbnail folders?

Thks...

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzU2MjE3LWRlbGV0ZS10aHVtYm5haWwtaW1hZ2VzP3RtcGw9bWFya2Rvd24=) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86359
- Thank you received: 14293
-
-

14 years 4 months ago [\#56270](#56270) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Delete thumbnail images?](/forum/4-how-to/56217-delete-thumbnail-images#56270 "Hi Nicolas,  Need to exchange product images with new ones, this works fine from the products page, however the corresponding old thumbnail image files in upload folders are not deleted. I end up having both the old and the new thumbnail files. Using 1.5.7 Business. How can I solve this without manually deleting the old thumbnails one by one in the various upload/thumbnail folders?  Thks...")*

Hi,

If you delete all the thumbnail folders in your upload folder, HikaShop will recreate them automatically when needing them.

The following user(s) said Thank You: [Bugger101](/forum/user/631-bugger101 "View Bugger101's Profile")

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

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

Less More

- Posts: 16
- Thank you received: 0
-
-

14 years 4 months ago [\#56277](#56277) by [leez300](/forum/user/6329-leez300 "View leez300's Profile")  Replied by *[leez300](/forum/user/6329-leez300 "View leez300's Profile")* on topic *[Re: Delete thumbnail images?](/forum/4-how-to/56217-delete-thumbnail-images#56277 "Hi Nicolas,  Need to exchange product images with new ones, this works fine from the products page, however the corresponding old thumbnail image files in upload folders are not deleted. I end up having both the old and the new thumbnail files. Using 1.5.7 Business. How can I solve this without manually deleting the old thumbnails one by one in the various upload/thumbnail folders?  Thks...")*

HI Nicolas,

Thanks for answer. Yes I know, and this is fairly easy as long as I am in the developing phase. However when the site has been handed over to a customer, and he/she has to maintain the shop with products and texts and images and so on, those thumbnails will not be removed. Anyway I believe that they do no harm?
Have a nice day...

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzU2MjE3LWRlbGV0ZS10aHVtYm5haWwtaW1hZ2VzP3RtcGw9bWFya2Rvd24=) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86359
- Thank you received: 14293
-
-

14 years 4 months ago [\#56294](#56294) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Delete thumbnail images?](/forum/4-how-to/56217-delete-thumbnail-images#56294 "Hi Nicolas,  Need to exchange product images with new ones, this works fine from the products page, however the corresponding old thumbnail image files in upload folders are not deleted. I end up having both the old and the new thumbnail files. Using 1.5.7 Business. How can I solve this without manually deleting the old thumbnails one by one in the various upload/thumbnail folders?  Thks...")*

They don't. As a "normal" user of HikaShop, he/she can just delete the image in the product and upload the new one instead. The thumbnails of the old one won't be removed but it's not much of a problem as you say.

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

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

Less More

- Posts: 9
- Thank you received: 0
-
-

11 years 10 months ago [\#182998](#182998) by [Pleko](/forum/user/35109-pleko "View Pleko's Profile")  Replied by *[Pleko](/forum/user/35109-pleko "View Pleko's Profile")* on topic *[Delete thumbnail images?](/forum/4-how-to/56217-delete-thumbnail-images#182998 "Hi Nicolas,  Need to exchange product images with new ones, this works fine from the products page, however the corresponding old thumbnail image files in upload folders are not deleted. I end up having both the old and the new thumbnail files. Using 1.5.7 Business. How can I solve this without manually deleting the old thumbnails one by one in the various upload/thumbnail folders?  Thks...")*

Hi i have the same problem like above, is there a way to do that automatically, i m the developer and i dont want the person uploading the photos call me all the time deleting to clean the thumbs.

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

11 years 10 months ago [\#183005](#183005) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Delete thumbnail images?](/forum/4-how-to/56217-delete-thumbnail-images#183005 "Hi Nicolas,  Need to exchange product images with new ones, this works fine from the products page, however the corresponding old thumbnail image files in upload folders are not deleted. I end up having both the old and the new thumbnail files. Using 1.5.7 Business. How can I solve this without manually deleting the old thumbnails one by one in the various upload/thumbnail folders?  Thks...")*

Hi,

No there is no way at this time to do that automatically.
A plugin could potentially do this task when a product is updated, do checks on the images, if no more used so delete the thumbs else do nothing.

Here is some documentation for the plugins:
[ www.hikashop.com/support/support/documen...r-documentation.html](http://www.hikashop.com/support/support/documentation/62-hikashop-developer-documentation.html)

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

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

Less More

- Posts: 86
- Thank you received: 3
-
-

8 years 2 months ago [\#297466](#297466) by [SEKME](/forum/user/50233-sekme "View SEKME's Profile")  Replied by *[SEKME](/forum/user/50233-sekme "View SEKME's Profile")* on topic *[Delete thumbnail images?](/forum/4-how-to/56217-delete-thumbnail-images#297466 "Hi Nicolas,  Need to exchange product images with new ones, this works fine from the products page, however the corresponding old thumbnail image files in upload folders are not deleted. I end up having both the old and the new thumbnail files. Using 1.5.7 Business. How can I solve this without manually deleting the old thumbnails one by one in the various upload/thumbnail folders?  Thks...")*

Hi,
I see that the last post was 3 years ago on this theme, so maybe there are changes on this topic? I create hikamarket for multivendor website. It is still not live, but I already see potential problem as the site will have 1000 vendors or so. The product photos vendor can delete, but old thumbnail stays and it is really trash in system. Is there any new automatic delete old thubnails solution?
thank you

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzU2MjE3LWRlbGV0ZS10aHVtYm5haWwtaW1hZ2VzP3RtcGw9bWFya2Rvd24=) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86359
- Thank you received: 14293
-
-

8 years 2 months ago [\#297489](#297489) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Delete thumbnail images?](/forum/4-how-to/56217-delete-thumbnail-images#297489 "Hi Nicolas,  Need to exchange product images with new ones, this works fine from the products page, however the corresponding old thumbnail image files in upload folders are not deleted. I end up having both the old and the new thumbnail files. Using 1.5.7 Business. How can I solve this without manually deleting the old thumbnails one by one in the various upload/thumbnail folders?  Thks...")*

Hi,

The thumbnails are not automatically deleted, however the main images are.
So you can just delete all the thumbnails automatically periodically with a cron task and HikaShop will recreate them when needed.

The following user(s) said Thank You: [SEKME](/forum/user/50233-sekme "View SEKME's Profile")

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

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

Less More

- Posts: 86
- Thank you received: 3
-
-

8 years 2 months ago [\#297625](#297625) by [SEKME](/forum/user/50233-sekme "View SEKME's Profile")  Replied by *[SEKME](/forum/user/50233-sekme "View SEKME's Profile")* on topic *[Delete thumbnail images?](/forum/4-how-to/56217-delete-thumbnail-images#297625 "Hi Nicolas,  Need to exchange product images with new ones, this works fine from the products page, however the corresponding old thumbnail image files in upload folders are not deleted. I end up having both the old and the new thumbnail files. Using 1.5.7 Business. How can I solve this without manually deleting the old thumbnails one by one in the various upload/thumbnail folders?  Thks...")*

Thank you Nicolas, will need to dig info about cron task. I saw this option in Hika, but do not know how it works so far.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzU2MjE3LWRlbGV0ZS10aHVtYm5haWwtaW1hZ2VzP3RtcGw9bWFya2Rvd24=) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86359
- Thank you received: 14293
-
-

8 years 2 months ago [\#297626](#297626) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Delete thumbnail images?](/forum/4-how-to/56217-delete-thumbnail-images#297626 "Hi Nicolas,  Need to exchange product images with new ones, this works fine from the products page, however the corresponding old thumbnail image files in upload folders are not deleted. I end up having both the old and the new thumbnail files. Using 1.5.7 Business. How can I solve this without manually deleting the old thumbnails one by one in the various upload/thumbnail folders?  Thks...")*

Hi,

No, I meant a cron script on your server. That's usually something your server administrator can add.
However, I actually checked the code on our end, and the thumbnails are also deleted when the main image is deleted. So in fact, there is nothing to do as it's already the case by default.

The following user(s) said Thank You: [SEKME](/forum/user/50233-sekme "View SEKME's Profile")

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

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

Less More

- Posts: 31
- Thank you received: 2
-
-

7 years 3 months ago [\#308625](#308625) by [drfenning](/forum/user/31596-drfenning "View drfenning's Profile")  Replied by *[drfenning](/forum/user/31596-drfenning "View drfenning's Profile")* on topic *[Delete thumbnail images?](/forum/4-how-to/56217-delete-thumbnail-images#308625 "Hi Nicolas,  Need to exchange product images with new ones, this works fine from the products page, however the corresponding old thumbnail image files in upload folders are not deleted. I end up having both the old and the new thumbnail files. Using 1.5.7 Business. How can I solve this without manually deleting the old thumbnails one by one in the various upload/thumbnail folders?  Thks...")*

I deleted all of the thumbnail folders as stated in this string and the thumbnails are still visible on my desktop, but the thumbnail images are not appearing (automatically generated) on mobile devices. Some images are there, some are not. Very odd. I tried just opening and closing the product page in admin to see if this generated a thumbnail; the images exist in the upload folder but the only way for the thumbnails to be created for mobile was to reupload the product images.

I also deleted my cache thinking maybe the thumbnails did not truly exist on the desktop either. But they are still appear in my chrome browser on my desktop.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzU2MjE3LWRlbGV0ZS10aHVtYm5haWwtaW1hZ2VzP3RtcGw9bWFya2Rvd24=) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86359
- Thank you received: 14293
-
-

7 years 3 months ago [\#308661](#308661) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Delete thumbnail images?](/forum/4-how-to/56217-delete-thumbnail-images#308661 "Hi Nicolas,  Need to exchange product images with new ones, this works fine from the products page, however the corresponding old thumbnail image files in upload folders are not deleted. I end up having both the old and the new thumbnail files. Using 1.5.7 Business. How can I solve this without manually deleting the old thumbnails one by one in the various upload/thumbnail folders?  Thks...")*

Hi,

I don't see why this would happen and I'm not able to reproduce what you're describing on my end.
When HikaShop has to display a thumbnails, it will check if the thumbnail is there. If not, then it will generate it.
That's the same mechanism for mobile or desktop.

If you could give a link to a page where you have the thumbnails display on desktop and not on mobile, we could have a look into it.

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

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