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
The KnightThe Knight 

Can we store images as part of record

We have a requirement to store image as part of a record.Is there a way?


Currently  I am thinking of storing document Id in a text field(since there is no way of having lookup of Document) in the record and when the page loads the image from the documents will be fetched and displayed.




Rahul SharmaRahul Sharma

I think you can you richt text area and ther while saving the record give the source of Image url as you give in HTML.


You can make use of Image formula to link directly to Image - not sure if this is what you meant.


Yes, just add RichText Field.  The users can upload any image that is less than 1 Meg from their PC.  by using the insert graphic icon on the tool bar.


Just add the notes and attachments related list to the page layout.  If you need a visual force page that can show the record along with the image you can query the Attachment object for the image.