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
ArnoeArnoe 

How do I embed images in a Force.com custom object?

Is it possible to embed an image in a Force.com custom object? For example, if I want to create a custom object for real estate properties and I want to embed images of the properties in the custom object.

If so, how can it be done?

 

thx,

Arno

CaitlinMCaitlinM

You can add images in a rich text field. 

SabrentSabrent

You can create a Rich Text Area Field Eg: Properties__c In this field you can embed images and also URL of the property if you wish to. 

 

Hope this helps.

SFDC_LearnerSFDC_Learner

Yes.

 

How can i set the size of the image with Rich Text Area field?

 

 

 

 

SabrentSabrent

You are allowed to upload an image of Maximum Size 1MB.
I guess you'll have to set the desired dimensions (eg: 184 x 190 pixels) before uploading the image.

Other option  would be to create a visual force page for more flexibility and control over the image properties.  

 

Hope this helps.

Android_DevAndroid_Dev

Hi Arone, check this post:

 

http://boards.developerforce.com/t5/General-Development/Upload-data-to-Rich-Text-Area-from-Android-using-API-v20-0/td-p/410527

 

Hope this help you for uploading/embading images to froce.com custom object (i.e in Rich Text Area typed field)