Image field is one of the new feature and very useful in Dynamics CRM 2013, use image fields to display a single image per record in the application. Each entity can have one image field. You can add an image field to custom entities but not to system entities. The following system entities have an image field. Some of them are enabled by default.
|Entity Name||Enabled by default|
|Email Server Profile||No|
Even though an entity has an image field, displaying that image in the application requires an additional step. In the entity definition the Primary Image field values are either [None] or Entity Image. Choose Entity Image to display the image in the application.
When image display is enabled for an entity, any records that don’t have an image will display a placeholder image. For example, the Lead entity:
People can click the default image to upload a picture from their computer. Images must be less than 5120 KB and must one of the following formats:
When the image is uploaded it will be converted to a .jpg format and all downloaded images will also use this format. If an animated .gif is uploaded, only the first frame is saved.
When an image is uploaded it will be resized to a maximum size of 144 pixels by 144 pixels. People should resize or crop the images before they upload them so that they will display well using this size. All images are cropped to be square. If both sides of an image are smaller than 144 pixels, the image will be cropped to be a square with the dimensions of the smaller side.
Create image field on custom entity: To create image field on custom entity, you need to first create custom entity and create a field with Image data type. After you create image field, by default Primary Image will be set to image field which you created, if you want to hide the image in the application, go to entity definition options and change Primary Image field value to [None]