v1.6-v1.7-v8x Want to remove unwanted pictures? Redundant Image Cleaner v4.5.4

infoseek

Member
XNullUser
Joined
Aug 11, 2021
Messages
524
Reaction score
3
Points
18
NullCash
44
thanks, save much time for managing product and images.
 

LAurent

New member
XNullUser
Joined
Apr 29, 2020
Messages
3
Reaction score
0
Points
1
NullCash
6
I am very curious to test it. it would be a native tool of prestashop.
 

testTest2

New member
XNullUser
Joined
Oct 9, 2021
Messages
24
Reaction score
0
Points
1
NullCash
3
You solved my problem,I was looking for a module to do this, thanks !
 

Eleos

Well-known member
Master
Diamond
Elite
Joined
Dec 1, 2020
Messages
320
Reaction score
737
Points
93
NullCash
1,720
thanks for sharing. I will try it.
 

Nek

Member
XNullUser
Joined
Jun 23, 2021
Messages
287
Reaction score
1
Points
18
NullCash
6
thank you very much, i go testing it
 

sambaltdf

Active member
Elite
XNullUser
Joined
Dec 12, 2019
Messages
257
Reaction score
139
Points
43
NullCash
626
Thank you very much for sharing this module
 

attman123

Member
XNullUser
Joined
Jul 30, 2023
Messages
41
Reaction score
0
Points
6
Location
public_html/classes
NullCash
3

PrestaShop Compatibility V1.5.0.0 - V8.0.3

Free up disk space on the server of your shop by clearing redundant images with this module. Redundant images are images not needed and not used anywhere in your shop and taking disk space on your shop for no reason.
There are several cases in which Prestashop images happen to become redundant. Some of them are mentioned below:

  • Deleting products from database. This is different than deleting products manually on back-office. Deleting products from database happens with SQL query, most often with import module, or sometimes people delete with SQL command on database. This will not delete images of products. However, if you delete products manually on back-office using Delete button, Prestashop takes care of deleting images too.
  • Deleting image format. If you create new image format and after some time delete that format, the images of that format is not deleted, so they become redundant. Image formats can be found in Preferences -> Images section. By default there are about 6 formats for product images, for example, home_default, large_default, small_default, etc... and some themes create image formats too when you install them, and if you change that theme later, images of those created formats will become redundant.
  • Not erasing previous images when regenerating thumbnails. This is also to be found in Preferences -> Images section. There is an option to erase or not previous images. So if you do not erase, the old images will become redundant and new images will be generated.
  • Generating high resolution images. Prestashop has an option called “Generate high resolution images” on Preferences -> Images section. When you enable this option, new images with higher resolution will be generated. And if you decide not to use this option after using it for some time, those high resolution images will become redundant, you will no longer need them.
  • Importing products using CSV import module. Some import modules may provide option to delete existing images before importing new ones, but they may fail to delete images correctly, leaving old images to be redundant.


HOW TO CHECK IF MY SHOP HAS REDUNDANT IMAGES?

If your shop does not have redundant images, then the module would tell you that you have 0 redundant images. That is why you need to buy this module if you are sure you have a problem with redundant images.

If your images folder (/img) is very huge and you think it is not normal considering number of products you have, then you can make some calculation to find out if the size of your /img folder is normal or not for the number of products you have in your shop. For example, if you have 1000 products and on average you have 3 images per product, you should have total 21000 images. That is because there are 6 image formats (home_default, large_default, etc…). So each image becomes 7 images: original + 6 formats. So 1000 * 3 * 7 = 21000. If average size of an image is 300KB, 21000 images will be around 6GB. So this is approximate size. And then you will check total size of your /img/p folder. If it is something greater than 10GB then there is something wrong and most probably there are many redundant images.


WHAT IS THE DIFFERENCE BETWEEN REDUNDANT IMAGES AND DUPLICATE IMAGES?

Redundant images are images not needed and not used anywhere in your shop, because they are not linked to any product. Whereas duplicate images are linked to products and they exist in your shop just like normal images and you can view duplicate images on product page just like normal images. The problem with duplicate images is that they are uploaded more than once to the same product.


ATTENTION: This module does not delete duplicate images. This module is for clearing redundant images that are not used anywhere.
thannk you taking the time to share this with us
 

hatc

Member
XNullUser
Joined
May 13, 2021
Messages
324
Reaction score
1
Points
18
NullCash
67
Great share ! Thank you for sharing this content !
 

trakr

Member
XNullUser
Joined
Apr 8, 2021
Messages
278
Reaction score
0
Points
16
NullCash
3
i need to test this module, should be good
 

slonodesa

Member
XNullUser
Joined
May 18, 2022
Messages
128
Reaction score
1
Points
18
NullCash
13
спасибо за то что поделились. Сейчас поставлю.
 

magoblanco

Member
XNullUser
Joined
Sep 16, 2021
Messages
185
Reaction score
7
Points
18
NullCash
0
very interesting module, I hope to streamline and speed up.
Post automatically merged:

very interesting module, I hope to streamline and speed up.
 

alegis

Member
XNullUser
Joined
Nov 18, 2021
Messages
287
Reaction score
0
Points
16
NullCash
3
muy interesante modulo, espero poder agilizarlo y agilizarlo.
 
Top