coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Upload => Topic started by: Biggie on July 08, 2005, 05:10:42 PM

Title: Uploading Pictures
Post by: Biggie on July 08, 2005, 05:10:42 PM
I have a question. If I upload tow different pictures, but they have the same file name, what will happen? will it replace the older file, or will it just change one of the filenames?

Is there a way that I can get around the problem (if there is one)?
Title: Re: Uploading Pictures
Post by: Nibbler on July 08, 2005, 05:16:32 PM
The second file named filename.jpg would be renamed to filename~0.jpg, subsequent files being filename~1.jpg, filename~2.jpg and so on.