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
ethanoneethanone 

Including image on VF page

I'm looking to create a simple data sheet for an individual record that includes an image created and uploaded by a user.  I'd like the user to be able to use the standard "Notes & Attachments" to add the image to the record, but I don't see any examples of being able to embed a Notes & Attachments image in a VF page. Is this possible? How can I avoid the user having to either (A) edit a static resource or (B) upload to a different server and then paste the URL?

Best Answer chosen by Admin (Salesforce Developers) 
Edwin VijayEdwin Vijay

Have you tried using the field of type "Text Area (Rich)". It allows the user to upload images and you could display the field in a VF page.

All Answers

Edwin VijayEdwin Vijay

Have you tried using the field of type "Text Area (Rich)". It allows the user to upload images and you could display the field in a VF page.

This was selected as the best answer
ethanoneethanone

As far as data entry goes, pasting the image into a Rich Text Area works well, but that image is not usable via email due to Salesforce's security. What are the other options?