Photo
A photo object with resolution options and optional metadata.
Fields
Section titled “Fields”| Field | Type | Required | Description |
|---|---|---|---|
2x | string | ||
id | string | Internal photo ID, if stored in a media system. | |
url | string | ✓ | Primary image URL. This is the default image URL to be used when no other resolution is specified. |
width | number | Width of the image in pixels. | |
height | number | Height of the image in pixels. | |
caption | string | Optional caption for the image. |
Field Examples
Section titled “Field Examples”url:
"https://picsum.photos/500"