• Resolved keviin55

    (@keviin55)


    I just noticed that if two different users upload two different images with the same file name, the second file will override the first one from the first user. Can you confirm the error? Event in the Order the wrong image will be displayed.

    Is it not possible to generate random names for the files during the upload? It also make it more complicated for someone to guess the images path under https://website.com/wp-content/uploads/wc_drag-n-drop_uploads/*.jpg

    • This topic was modified 2 years, 11 months ago by keviin55.
Viewing 1 replies (of 1 total)
  • Plugin Author Glen Don Mongaya

    (@glenwpcoder)

    @keviin55 , I’m not sure if the file was overwritten by the first one since my plugin has a functionality to check if the filename already exists; it will add a unique index before the extension. (see example below)

    Example:
    file-1.jpg – user 1 upload file-1.jpg
    file-1-1.jpg – user 2 upload file-1.jpg it will become file-1-1.jpg

Viewing 1 replies (of 1 total)
  • The topic ‘Images with same names are overrided’ is closed to new replies.