Sterc / mediamanager

Enterprise grade media management in MODX
https://www.sterc.com/modx/extras/media-manager
7 stars 7 forks source link

Suggestion: Unique check based on filecontent and filename #32

Open Falco-Boehnke opened 2 years ago

Falco-Boehnke commented 2 years ago

Hi there.

Currently it seems impossible to upload an image file that contains the same image, despite renaming the file itself. This is especially evident with .svg files, where adding a random id inside the code allows upload again.

I would suggest including the filename into the duplication check. For the editor it would be far more understandable that files need to have (at least) unique filenames, but can have the same content. It seems more intuitive, but I might be wrong.

Sorry if that is not the right place for a suggestion, but thank you for your time nonetheless!