Prevention of duplicate filenames for pictures

  • oorzaak
  • Auteur du sujet
  • Visiteur
  • Visiteur
il y a 11 ans 9 mois #1207 par oorzaak
Hi,

Our site will depend fully on front-end submission of locations & pictures thereof. This induces the risk of duplicate file names of picture files. I did some testing and I had these results:
  • When I upload a picture, GMapFP gives the filename this prefix: '681__'
  • When I upload the second picture with exactly the same filename, it gets this prefix: '0__' so the first picture is not overwritten.
  • Each following picture with the same filename gets the same prefix '0__', thus overwriting the second picture.

Would it be possible to either extend the range of prefixes or to force the user to change the filename manually when a duplicate name is detected?

Kind regards,
Frits

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 11 ans 9 mois #1222 par gmapfp
Hi,

When the Pro version uploads a picture, GMapFP adds the id of the user before.

By cons, it isn't right that it overwrites an old picture.
I will make the update.

For a quick response on all the questions of the Pro version, you can send me directly a email.

Connexion ou Créer un compte pour participer à la conversation.

  • oorzaak
  • Auteur du sujet
  • Visiteur
  • Visiteur
il y a 11 ans 9 mois #1229 par oorzaak
Réponse de oorzaak sur le sujet Re: Prevention of duplicate filenames for pictures

gmapfp écrit: When the Pro version uploads a picture, GMapFP adds the id of the user before.


The point is that uploads will almost entirely be made by non-registered users. So we have no user id.

gmapfp écrit: By cons, it isn't right that it overwrites an old picture.
I will make the update.


I do not understand what you mean by this.


Kind regards, Frits

ps. I've just submitted a review in the JED. A positive one, of course :)

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 11 ans 8 mois #1253 par gmapfp
Hi,

It's solved in the last version, that I sent you.

Connexion ou Créer un compte pour participer à la conversation.

Temps de génération de la page : 0.072 secondes
Propulsé par Kunena
FaLang translation system by Faboba