Image
The image object stores an image that is displayed on detail pages for the Account, Contact, and Product record types. You can insert, update, query, and delete images using Web service calls.
An image can only be inserted when the Display Image check box on the Customize Record Types page is selected for the record type. An image cannot be inserted into an account that already has an associated image.
The maximum file size for an image is 5 MB, and the maximum dimensions are 150 pixels high and 150 pixels wide; larger images will be cropped to 150 x 150 pixels.
Supported image formats are: JPEG, JPG, BMP, PNG, and GIF. If you specify any other format, or a blank value for the <FileExtension> element, an error is returned.
Deleted images are not moved to the Deleted Items area, so they cannot be restored.
Parent Object
Fields
The following table details the required and read-only fields for the image child object.
Field Name | Type |
---|---|
Attachment | Required |
DisplayFileName | Required |
FileNameOrURL |
Required |
Read-only |
The following table provides a list of the user key combinations for the image child object.
User Key Field Combinations |
---|
Id |
ExternalSystemId |
FileNameOrURL and FileExtension |