I tried to upload images with dropzone.js and keep the data into the json file. Everthing works well but when upload the same name, it get errors. Did someone experience with this before or any solutions to solve this ?
 i tried to research online about the rename before the sending process but not working and i was thinking about rename it at server side, but need manually refresh, not user friendly. Pop up error for duplicated file will be my last decision if really cannot rename it before sending process. :(
Hopes can be solved. Thanks.
json file