ImgUpload CKEditor - Overwrites file

Place for comments, problems, questions, or any issue related to the JavaScript / PHP scripts from this site.
Posts: 1

ImgUpload CKEditor - Overwrites file

I love the extension ImgUpload for CKEditor, works great except there is no check for images/files named the same. I just overwrites the existing files. Are you planning on adding this feature?

Thanks to your suggestion, I modified the script by adding the option to set to Rename filename or Overwrite existing file.
- By default, if the name of the uploaded file exists on server, it will be renamed with "filename_NR.ext" (NR is a number). If you want to Overwrite the existing file, set value of 0 to RENAME_F (line 9).

- You can Download the new version from the page with the script: ... -upload_s2

Similar Topics