Hi Devparsafardd,
Greetings from Syncfusion support,
We have validated your reported query. If the path property for the e-richtexteditor-insertimagesettings is configured the image URL shows the mapped path. If you want to show your own saved path, we suggest you to configure the path property as empty string and change the Image URL in the imageUploadSuccess event. We have prepared a sample that tries to meet your requirements by changing the file path from the local host where the image is saved.
<ejs-richtexteditor id="image-save" imageUploadSuccess="onsuccess">
<e-richtexteditor-insertimagesettings saveUrl="/Home/SaveFile" path=""></e-richtexteditor-insertimagesettings>
</ejs-richtexteditor>
<script>
function onsuccess(args)
{
// Assign the URL to change in the <img /> src attribute
//args.File.Name = “Can replace the image saved URL here”;
args.file.name = "http://localhost:58824/Images/" + args.file.name; // Image saved path + Image name
}
</script>
|
Please let us know if the solution helps,
Regards,
Indrajith