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
praveen murugesanpraveen murugesan 

Image in Rich text area showing image not available

Hi All,

I am displaying rich text area field in VF page. Using output field. It is showing

User-added image

But for administrator its is displayng the image. If i login as manager profile it is showing above error. And if the record is shared with that manager image displaying correctly.

And in controller i am using without sharing only. In the field level i gave the access correctly.

And most important thing all the other fields such as text, number are displaying correctly except richtextarea field.

Using inspect element i got the url of the image [https://c.cs18.content.force.com/servlet/rtaImage?eid=xxxxxxxxxxxxx&feoid=xxxxxxxxxxxxxxxxxxx&refid=xxxxxxxxxxxxxxxx (https://c.cs18.content.force.com/servlet/rtaImage?eid=xxxxxxxxxxxxx&feoid=xxxxxxxxxxxxxxxxxxx&refid=xxxxxxxxxxxxxxxx)] if I click the link with admin login its showing the image. if manager login means its showing above error.

I have two question:

1. Where the image in richtextarea is stored ?

2. Is it stored with all other fields or seperatly?


Anyone can help me pls.. Thanks.

Praveen Murugesan.
Hargobind_SinghHargobind_Singh
Hi,

If you want to show the image on your VF page, you should try uploading your image in Documents, making them externally available, copy the image link from Documents, and insert the image in your richtext using a link... 

This has worked for me in the past. 

- Hargobind

suraj sood 8suraj sood 8
Did you find solution for this?