We have a very significant issue with unnecessary files being imported, and I am trying to figure out how to configure these settings to prevent more serious problems in the future.
We had been using a plugin which effectively grabbed our eBay Listings and pulled all of the data and files and created WooCommerce listings. Mostly, it has worked very well.
However, there is one issue. Somehow every image that is being grabbed is being imported maybe 7-13 times in variations, e.g. Image_A.jpg is the main image (which is all we need), but we’re getting “Image_A-600×400.jpg”, “Image_A-120×80.jpg”, “Image_A-768×512.jpg”, and so on with possibly 12 or more variations for each one.
We have about 9 images per listing, and about 25,000 listings… So…
25,000 * 9 * 12 = 2,700,000 images.
This is obviously a problem. Especially because we’re on a shared hosting plan with a rough cap of about 300,000 files.
I’ve got an approximate and decent way of removing all of the unnecessary files and getting under that limit (mostly… but that is a separate problem).
I need to know where these import settings are or should be and how to change them.
I’m familiar with the General Media Settings in the dashboard, but I assume this has something to do with our Theme or something else (it is definitely not the plugin we were using to import the listings).
Does anyone know where these settings might be stored so I can jump in and modify them?
Thank you, endlessly, in advance.
]]>They have been very communicative and helpful. Based on numerous discussions with them, it appears that this is a setting somewhere outside of the plugin.
]]>https://developer.www.ads-software.com/reference/functions/add_image_size/
You could modify the import routine to remove unwanted image sizes before importing and put them back afterwards
https://codex.www.ads-software.com/Function_Reference/remove_image_size
]]>Ideally, we would like to pretty much eliminate all images that are not absolutely necessary.
Is it necessary to have thumbnails and variations or can images all simply be resized using css? Or something else altogether?
]]>