Duplicate filenames

griffinmt
griffinmt's picture

Joined: 2009-09-06
Posts: 128
Posted: Wed, 2009-09-23 01:20

Can anyone clarify what is expected to happen when a number of new files are added to an existing album which happen to have an identical filename to a file already existing. This can easily happen if the source of the picture is from different people but are using similar types of cameras.

It would be nice to have an option to check during the actual upload or server add operation to either skip the new picture, replace the old picture or rename the new picture.

Martyn T. Griffin

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 22892
Posted: Wed, 2009-09-23 03:48

We add a random number to the Internet Address and filename to prevent conflicts. Random numbers are less code and easier to do than sequential numbers like we did in G2.

You will get conflicting requests for what you are after in a feature request for skipping or renaming. People will complain or think something is wrong, that an item did not get added or if was renamed. If we add more code complexity to offer options, then the code gets complex and bloated.

Feel free to add a feature request, but in keeping the code complexity to a minimum, a rare occurrence this has, and a suitable working solution now, it might have to be a community to come up with a solution.

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

 
griffinmt
griffinmt's picture

Joined: 2009-09-06
Posts: 128
Posted: Wed, 2009-09-23 15:40

I am happy with that solution. It seems that it is the least damaging default option to take.
Thanks,
Martyn T. Griffin