Advanced HTML Editor 2 Support Product Page

Make image unique

Asked 31 May 2010 21:22:15
1
has this question
31 May 2010 21:22:15 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 01 Jun 2010 10:01:07
01 Jun 2010 10:01:07 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 01 Jun 2010 10:09:02
01 Jun 2010 10:09:02 ben van rijn replied:
Thank you very much. I must have been foolish, not to notice it!
Replied 01 Jun 2010 10:55:50
01 Jun 2010 10:55:50 Miroslav Zografski replied:
Hello Benjamin,

You are welcome.

Regards,

Reply to this topic