How to prevent duplicate images with larger thumbnail sizes How to prevent duplicate images with larger thumbnail sizes
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

How to prevent duplicate images with larger thumbnail sizes

Started by Hanna., July 25, 2022, 04:30:40 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Hanna.

Hi all - I have a request. I'm running a server with multiple coppermine installations. I've deactivated the normal_ images as I have to pay attention to inodes and not extending the limit. I'm controlling the display of this with CSS currently.

Now I'm noticing (compared to Wordpress), Coppermine still creates thumbnails even though the fullsize images are small/within the thumbnail max aspect dimensions. In Wordpress, if the fullsize image is within the size - i.e. 960px, it doens't create the thumbnail image because it fits within the dimensions. Is this something that's possible to achieve or maybe something for upcoming versions?

With galleries containing over 50,000 images, this is a lot of duplicate images at the end of the day.