Users can't see images when accessed through portal
|Knowledge Article Number||000176739|
For instance, here is a SOQL Query where resolution is rich area text field used to upload images -
This is working as designed.
Attempting to use the image url from an unauthenticated browser session results in the issue.
Images in the rich text area fields are meant to be "Salesforce internally available only" by default.
There is no api that will allow to retrieve the body\ actual file of an image file from a rich text area field.
1) Consider to switch to using a "file" field type instead of rich area text field and put your images there.
Put your images in the documents object.
Both allow you to get the actual body of the document via the API query call.
Info on file field, Page 5 -
Make your articles publicly available, which makes them accessible via force.com sites.
The basics are:-
Once this is done, you would need to then take the returned img src from your API query call, and substitute the domain there with the public site domain name.
So, if your force.com site access url is: