Rename Image on upload in RichTextEditor

I would like to rename file on upload (add timestamp to filename) to avoid situation when user is trying to upload images with same name.
How can this be achieved?
Also how can new name be passed to API backend for saving image correctly?

Thanx,
D

1 Reply 1 reply marked as answer

IS Indrajith Srinivasan Syncfusion Team September 14, 2020 10:20 AM UTC

Hi Dino, 
 
Greetings from Syncfusion support, 
 
We have validated your reported query. Yes, you can rename the images before adding it to the Rich Text Editor. Add the modified name to the headers from server side, and change the file name in the OnImageUploadSuccess event. We have also prepared a sample that tries to meet your requirements. 
 
 
 
Please let us know if the solution helps, 
 
Regards, 
Indrajith 


Marked as answer
Loader.
Up arrow icon