| author | spgraph-docs-team |
|---|---|
| title | image resource type |
| ms.localizationpriority | medium |
| description | The image resource groups image-related properties into a single structure. |
| ms.subservice | sharepoint |
| doc_type | resourcePageType |
| ms.date | 03/12/2024 |
Namespace: microsoft.graph
The image resource groups image-related properties into a single structure. If a driveItem has a non-null image facet, the item represents a bitmap image.
Note: If the service is unable to determine the width and height of the image, the image resource may be empty.
{
"width": 100,
"height": 200
}| Property | Type | Description |
|---|---|---|
| height | Int32 | Optional. Height of the image, in pixels. Read-only. |
| width | Int32 | Optional. Width of the image, in pixels. Read-only. |
In OneDrive for Business, this resource is returned on items that are expected to be images based on file extension.
For more information about the facets on a DriveItem, see driveItem.