You need to sign in to do that
Don't have an account?

Images in rich text fields are not displaying to site users
Hello All,
We have a vfpage that is displayed to our site users. This page displays various rich text fields but when there is an image in the rich text field it is not being shown to the site user. The profile has access to the fields but the images are returning the 'Image not available' error. This really seems to be specific to our site profile and I am wondering if anyone knows if this is a limitation of Sites?
We have a vfpage that is displayed to our site users. This page displays various rich text fields but when there is an image in the rich text field it is not being shown to the site user. The profile has access to the fields but the images are returning the 'Image not available' error. This really seems to be specific to our site profile and I am wondering if anyone knows if this is a limitation of Sites?
Please refer the below link for reference.
https://success.salesforce.com/issues_view?id=a1p30000000StxuAAC
http://www.codestore.net/store.nsf/unid/DFOU-4PRG73
Please mark it as best answer so that question is removed from unanswered questions and appear as a proper solution.
Thanks
Rahul kumar
My developer tried this just now but it is still not opening. Were you ever able to get it working?
Please provide the below links to your developers and read it fully:
https://salesforce.stackexchange.com/questions/15501/accessing-an-image-from-sites-stored-in-a-rich-text-area-field
https://help.salesforce.com/articleView?id=000176739&type=1
Can you please Let me know if it works or not!!!
If it helps don't forget to mark this as a best answer!!!
Thanks,
Raj
Put a System.debug(); for the image field in apex class, you will saw the url for the image with unwanted string, now you can separate this url using list methods.
Now put it in any property and use this property in your page image tag ( with escape = false if needed).
Mark this as best answer if it works.. :)
Have a nice day!!