Huge size images folder issue

I have 40 pages , each with 500 positions, how to select them all and delete it?

Showing rows 0 - 24 (19363 total, Query took 0.0003 seconds.)

Run in the SQL tab

DELETE FROM cscart_images_links WHERE object_type = 'product';

18863 rows deleted. (Query took 0.1721 seconds.)

I’m importing the images backup now, hoping that this issue is gone now.

All seems fine now, thanks alot for all the help ! I don’t understand how did I get 100GB of image files in the first place.

Result after restoring the images backup:

4.0G detailed
2.7G watermarked
53M abt__ut2
21M variant_image

1 Like