image files

Closed
REHub - Price Comparison, Affiliate Marketing, Multi Vendor Store, Community Theme REHub - Price Comparison, Affiliate Marketing, Multi Vendor Store, Community Theme January 07, 2020
Login to reply
Paul Durand
2 weeks ago

Hello



When I add a featured image to a product (50ko, all my images are optimized before upload with iloveimg.com)


I noticed that 9 others versions are created in uploads folder : 


image-name-100x100.png : 6 ko

image-name-150x150.png : 12 ko

image-name-300x300.png : 34 ko

image-name-600x600.png : 94 ko

image-name-768x768.png : 204 ko

image-name-788x788.png : 236 ko

image-name-1024x1024.png : 125 ko

image-name-1536x1536.png : 397 ko

image-name-2048x2048.png : 158 ko


+ 4 images files in thumbs_dir (9 ko, 2 ko, 8 ko, 2 ko)




1) It create lots of files, and my server is limited to 1 million files (even if it still has empty space)


2) many of these files are not used in frontend


3) new images are not optimized and are bigger than the original



Is there a way to fix this ? Have less new image created by the theme and have them optimized ?



If it can help in Rehub options I have


Equal eight grid layout for blog / category / search

big post offer for post layout

width style is 1200 px

woo archive is directory grid

product layout is directory style

Disable resize for Featured images is OFF

Enable lazyload script on thumbnails is ON


In WordPress Images Options I made no change and got 150 / 300 / 1024


thank you

Additional Info

Link on page with issue (Optional): localhost