Images in Ritch TExt Editor

Hi

According to documentation to insert images in the editor as described in this link
https://help.syncfusion.com/xamarin/rich-text-editor/customization

Could you explain a little more what the process to add images is, since I have downloaded the example, but I did not discover how to add images.

On the other hand, is it possible that they send me an example to add an icon in the toolbar that allows us to open the image gallery and add them to the rte?

4 Replies 1 reply marked as answer

GR Gayathri Ramalingam Syncfusion Team May 28, 2021 07:49 AM UTC

Hi jose 
  
Thank you for using Syncfusion products. 
  
The SfRichTextEditor provides support to insert JPEG and PNG images from a photo gallery, embedded resource, or stream into the Rich Text Editor content based on your cursor position. In that you can  insert images when clicks in the image toolbar button and image can be inserted in the SfRichTextEditor using the ImageInsertCommand property or the ImageInserted event.  
 
We have prepared sample based on your requirement and it can be downloaded from below, 
 
Sample link for load image from gallery:  
 
We created a video for illustrating the same and it can be downloaded from the below links, 
 
 
Sample link for load image with embedded:  
 
We created a video for illustrating the same and it can be downloaded from the below links, 
 
Could you please try the above suggested solution and let us know whether it meets your requirement or not?   
 
With Regards, 
Gayathri R 



JL jose luis barajas May 28, 2021 09:10 PM UTC

Hi Gayathri 

Thanks for your support, I have a problem, when I upload several images the process is very slow since the images are in base64, if there are several images the application crashes, this without even calling the api to save the data. It is possible that you guide me, so that each image selected from the gallery is sent to the server, and then return this url to include it in the RTE, very similar to how they have the functionality in the blazor rte?

Thanks in advance!!!
Have a nice day!


GR Gayathri Ramalingam Syncfusion Team May 31, 2021 09:01 AM UTC

Hi jose, 
 
Please find the details for your query from below, 
 
Query 
Details 
Thanks for your support, I have a problem, when I upload several images the process is very slow since the images are in base64, 
We have considered your request “Improve the performance while inserting the larger image as base64 mode” as feature request. However, we have added it to our feature request list, we will implement the mentioned feature in any our upcoming release. We will let you know when this feature is implemented. The status of implementation can be tracked through our Features Management System:     
     
 
  
  
 
if there are several images the application crashes, this without even calling the api to save the data. 
We tried to reproduce the issue “Application crashes while inserting several images in RichTextEditor” in sample shared in the previous update, but it is working fine as expected. 
 
Kindly provide the following details to investigate further on this issue.   
1.      Simple sample with Images which the issue could be reproduced. 
2.      Screen shot or video illustrating the issue. 
It will be more helpful for us to reproduce the issue in our side and assist you with the better solution at the earliest.  
 
 
It is possible that you guide me, so that each image selected from the gallery is sent to the server, and then return this url to include it in the RTE, very similar to how they have the functionality in the blazor rte? 
Currently we don’t have support to “Insert images as URL from server while selecting images from file picker”. We do not have any immediate plans to implement this feature. We will let you know when this feature is implemented. 
 
With Regards, 
Gayathri R 



GR Gayathri Ramalingam Syncfusion Team May 31, 2021 09:01 AM UTC

Hi jose, 
 
Please find the details for your query from below, 
 
Query 
Details 
Thanks for your support, I have a problem, when I upload several images the process is very slow since the images are in base64, 
We have considered your request “Improve the performance while inserting the larger image as base64 mode” as feature request. However, we have added it to our feature request list, we will implement the mentioned feature in any our upcoming release. We will let you know when this feature is implemented. The status of implementation can be tracked through our Features Management System:     
     
 
  
  
 
if there are several images the application crashes, this without even calling the api to save the data. 
We tried to reproduce the issue “Application crashes while inserting several images in RichTextEditor” in sample shared in the previous update, but it is working fine as expected. 
 
Kindly provide the following details to investigate further on this issue.   
1.      Simple sample with Images which the issue could be reproduced. 
2.      Screen shot or video illustrating the issue. 
It will be more helpful for us to reproduce the issue in our side and assist you with the better solution at the earliest.  
 
 
It is possible that you guide me, so that each image selected from the gallery is sent to the server, and then return this url to include it in the RTE, very similar to how they have the functionality in the blazor rte? 
Currently we don’t have support to “Insert images as URL from server while selecting images from file picker”. We do not have any immediate plans to implement this feature. We will let you know when this feature is implemented. 
 
With Regards, 
Gayathri R 


Marked as answer
Loader.
Up arrow icon