Page 1 of 1

File Already Exists - Error Message

Posted: 25 Dec 2012, 18:19
by jackclements
Hi, I love Phoca Gallery!! I want to allow users of my website to upload photos via I-phone/Android, the only problem is that when a file is uploaded from an I-phone, the phone names the file "image.jpg" before uploading....I have searched and searched for a solution for this.... I would like the script to check to see if the file exists and rename the file if it does...."image1.jpg"..."image2.jpg" etc. or ANY random filename to prevent getting the "File Already Exists" error message or overwriting the file with the same file name.... Is there a simple solution for this?

Re: File Already Exists - Error Message

Posted: 25 Dec 2012, 19:44
by Jan
Hi, such way this work in Phoca Download, in Phoca Gallery this needs to be customized.

Jan