Ensuring, each image is unique

Doofus
Doofus's picture

Joined: 2009-01-07
Posts: 15
Posted: Fri, 2010-02-26 21:21

Hello! I maintain a collection of pictures by the same author. The images come from several different sources and sometimes overlap (different names, same file). How can I make sure, each file is only uploaded once? Is there a plugin, perhaps, that keeps a checksum of each image in the database and checks each new image's checksum -- rejecting duplicates?


Gallery version (not just "2"): 2.3.1
PHP version (e.g. 5.1.6): 5.2.10
Webserver (e.g. Apache 1.3.33): 2.2.14
Database (e.g. MySql 5.0.32): 5.0.45
Operating system (e.g. Linux): FreeBSD

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Sat, 2010-02-27 08:48

Not as far as I know, but you could write one ...