You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Uploaded images are saved using their original filename on the server which means that the system is risking two different files being uploaded and overwritten.

Use Case:

  • I have 4 boxes for image uploads and expect people to upload images directly from their tablet or phone.  IOS allows you to take pictures to place into a form but always names them image1.jpg so if I upload more than one image, I only ever get one version of the image.
  • Two people using canon cameras, which names images img_xxxx could end up overwriting old images once the numbers start to match.

Is there a way to place a timestamp on the image upload to create a unique name so that I can upload more a different image with the same filename?

I can't allow image upload given the current, crude, implementation of image upload.

Hugh

  • No labels