Thumbnail Images stored as files?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
10 years ago
nop 2.8

Why are the thumbnail images stored as files on the server when we have our images stored in the database? We have 13,000 products online and there are 11 thumbs stored for each product image. This equates to over 3 GB of data so backing up the website files and/or moving the website files to upload a new version takes quite a bit of time.

I have also noticed, we are upgrading to 3.1 today and r using a backup of our database, that that same thumb folder in nop 3.1 is only 84 MB and the new site functions perfect? How is this possible?

There are only 1541 thumbs in 3.1 and the site functions fine in test environment.

There are 106,535 thumbs in nop 2.8 we are using now. 3 GB's !! Yikes!!!!

I have deleted 1 set of thumbs for 1 product and sure enough some of the thumbs disappeared. I added the pictures back to the product and only two thumbs were recreated and the product is now working fine.

Why does nop need 9 more thumbs created and stored when they are not even used and when does nop create the other 9 thumbs when only two are created when a product image is added.

This makes absolutely no sense when images are store in the database. If nop needs image thumbs to display for category pictures and the like they should be taken from the database and sized on demand according to the settings set in media settings. Yes? No?

Can some of these images be removed if they are not being used and which ones can be removed? The ones that are not a match to the media settings?

Thanks for anyone's help with this.
8 years ago
I also have the same problem. Too many thumbnails.

Did you ever get any reply from nopCommerce people?
8 years ago
nopCommerce stores only 1 product image in the database and has a .net function to resize images on the fly when needed.
When an image is requested a cached version is stored on the filesystem for performance reasons.

So the number of thumbnails per product really depends on how many different sizes of the product picture are used in the template.

Henc if you are always free to delete the thumbnails as nopCommerce will recreate them as needed. If you are worried about backup/restore performance; If you have the database there is no need to backup the generated thumbnails.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.