It seems as though every photo I upload is sent to /files and keeps its original file name.

Wont I run into problems if someone tries to upload a photo that has the same name as an existing file? Wont it over-write the old picture?

Comments

marsrc’s picture

Yes you will run into problems. You'll also run into problems if there are spaces in the file name, and you are using Linux. Obviously filenames should be renamed using a sequential number. Or at least stripped of special characters, and prefix it with the 'fid'.

Leaving the filenames untouched is a big oversight and it's asking for trouble.

Is there any fix out there?

marsrc’s picture

sorry... wrong thread