Do you like AbanteCart? Please rate AbanteCart or share your experience with other eCommerce entrepreneurs. Go to Softaculous rating page to add your rating or write a review

How Can i remove un-necessary images from image and resources folder

Started by aiswarjya, December 16, 2016, 02:32:25 AM

Previous topic - Next topic

aiswarjya

iN MY HOSTING THEY ARE PROVIDING US 2.50 LACS. FILES/INODES

bUT IN CPANEL IT WAS SHOWING THAT BELOW:

image  ( 174124 inodes)
resources  ( 14108 inodes)

So when i deleted some products,product is deleted but, the images is still there in my image folder. So how can i delete these un-necessary image files.

iMAGES ARE STORED IN BOTH IMAGE AND RESOURCE FOLDER.What is the difference between it,Why the image is not stored in a single folder.Please response us ASAP.


ThANKS AND REGARDS,





Basara


oliver

i am not sure but i think the RESOURCE folder is the main holder of you image
and the image folder are the temp or cache file folder for all the image that will resize to fit on your shop category's and product picture

example
in Resource folder there is a file xxx.jpg

in image folder there is then the file
xxx_000_.jpg-####-45*45.jp
xxx_000_.jpg-####-250*250.jp
xxx_000_.jpg-####-380*380.jp

the server don't need to spend the time to resize it every time when a costumer looks to you products

if i am wrong please correct me :)

timlight10

I have a similar issue. My web host has a limit on number of files. I have some files that are duplicated, or are no longer used/attached to an product/category. Is there a way to easily find and remove these no longer in use images, PDF files, etc... from the Resources folder?

Basara

Hello. Usually, when you delete a product, AbanteCart also removes the images assigned to that product.
You can clear all AbanteCart caches to remove the generated thumbnails, which may delete also hundreds or thousands of cached tmp files. The thumbnails will be generated again automatically only when they are requested.

The resources directory contains the original uploaded files, so it should not be deleted or cleared manually.

Forum Rules Code of conduct
AbanteCart.com 2010 -