[SalesForce] How to upload a image from local system to rich text field using visualforce page

How to upload a image from local system to rich text field using visualforce page?.i need to upload a image from local system selected image and save to rich text field directly.can anybody help me on this……

Best Answer

If you are binding to a rich text field on an object, you can instead use

<apex:inputField value="{!your.FieldName}"/>

This will give you access to the Salesforce rich text editor, and allow image uploads inline with text.

Related Topic