function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Chanchal Kumar 9Chanchal Kumar 9 

rich text image is not displaying in salesforce site

Image is stored in the rich text area, I need to display the image in salesforce site which is created using VF page, the image is visible earlier but now I don't sure but there are some changes for salesforce site guest user policy in the recent release, I want to know what changes I need to make to display the image.
I am displaying the image on page load, earlier the image is visible as shown below screenshot:
User-added image
But now in place of the image, a text is appeared "Image is not available because you don't have the privilege to see it or the image is removed from the source" as shown below screenshot:

User-added image


I am using this code on vf page.
<img  src="{!extractedUrlFromBacked}"   height="55px"/>

example of src="https://test--sandbox--c.t03.content.force.com/servlet/rtaImage?eid=testestestvB&feoid=testest&refid=testestest"
SwethaSwetha (Salesforce Developers) 
HI Chanchal,
I understand it was working earlier. However, can you try the appraoch mentioned in https://salesforce.stackexchange.com/questions/15501/accessing-an-image-from-sites-stored-in-a-rich-text-area-field and see if it works for your scenario? Thanks
John KlokJohn Klok
Hi

Refer this link

https://stackoverflow.com/questions/19043834/issues-with-displaying-salesforce-rich-text-editor-image

https://salesforce.stackexchange.com/questions/235602/rich-text-area-image-not-showing-up-in-community

https://help.salesforce.com/articleView?id=000176739&type=1

Kindly mark this as solved if the reply was helpful.

Thanks.