Advanced HTML Editor 2 Support Product Page

Make image unique

15 years ago ben van rijn posted:
Hi There,
Didn;t know if I had to post this in bugs or not, but one thing strikes me. The Pure PHP Upload behavior has the ability to make files unique, when a file with the same name resides in the upload folder.

The Advanced HTML editor however does not have such an option. Is there any way to make sure the uploaded file doesn't overwrite the earlier uploaded files? This is, kind of really not user friendly!!

Please help.

Kind regards,
Benjamin

Replies

Replied 15 years ago
15 years ago Miroslav Zografski replied:
Hello Benjamin,

PPU on AHE is set by default to make images dynamic. You can easily check that by opening the following file in dreaweaver:
siteroot/AdvHTML_Popups/upload.php - where line 24 ->
$ppu->nameConflict = "uniq";
or
siteroot/AdvHTML_Popups/upload_resize.php - where line 26 -> $ppu->nameConflict = "uniq";

Regards,
Replied 15 years ago
15 years ago ben van rijn replied:
Thank you very much. I must have been foolish, not to notice it!
Replied 15 years ago
15 years ago Miroslav Zografski replied:
Hello Benjamin,

You are welcome.

Regards,

Reply to this topic