Skip to content

Photo

A photo object with resolution options and optional metadata.

FieldTypeRequiredDescription
2xstring
idstringInternal photo ID, if stored in a media system.
urlstring✓Primary image URL. This is the default image URL to be used when no other resolution is specified.
widthnumberWidth of the image in pixels.
heightnumberHeight of the image in pixels.
captionstringOptional caption for the image.

url:

"https://picsum.photos/500"