Image Display Type
Use the image display type for schema attributes of the user object type that can store image data. The following table lists the supported attributes for Active Directory:
AD Attribute | CN | Description | Max. Image Size (KB) |
---|---|---|---|
jpegPhoto | JpegPhoto | Stores one or more images of a user in JPEG File Interchange Format (JFIF). The image stored in this attribute is mainly used by SharePoint. | 10240 |
Photo | Photo | An object encoded in G3 fax as explained in recommendation T.4, with an ASN.1 wrapper to make it compatible with an X.400 BodyPart as defined in X.420. | NA |
thumbnailPhoto | Picture | An image of a user for display in Outlook. A space-efficient format like JPEG or GIF is recommended. | 100 |
thumbnailLogo | Logo | A small-sized image; a user’s logo. | 32 |
To define an image display type, specify the image’s display dimensions (height and width), that would be used to display the image in the portal. You must also specify the maximum image size that can be uploaded for this display type.
A custom image display type is rendered on a portal page as:
Click Edit to launch the Manage Photo dialog box for uploading a photo. The dialog box also provides many image editing options, including rotate, crop, flip, and re-size.
Define an Image Display Type
- In Admin Center, select Applications in the left pane.
On the GroupID Portal tab, a portal's card displays its info. - Click the ellipsis button for a portal and select Settings.
- Select an identity store under Design Settings to define a custom display type for it.
All identity stores associated with the portal are listed under Design Settings. You can design a different portal for each of these. - Click Custom Display Types in the left pane.
- On the Custom Display Types page, click Add on the Custom Display Types tab.
- On the New Display Type pane, enter a name for the display type and select Image in the
Type drop-down list.
You cannot change the name of a custom display type once you have created it. - In the Height and Width boxes, enter image dimensions (in pixels). The image will be
displayed in the portal with these dimensions.
The default is set to 100 x 100 pixels. - In the Maximum Size (KB) box, enter the maximum image size (in kilobytes) that users can upload for this display type.
- Click OK.
- Click Save on the Custom Display Types page.
You can link this custom image display type to a schema attribute (such as the Active Directory attributes jpegPhoto, Photo, thumbnailPhoto, and thumbnailLogo) on the Search Forms, Properties, Create Object, and Property Validation pages in Design Settings, after which the image placeholder is displayed on the respective portal page. Users can use it to upload their photos.
See Also