Photo
Media metadata representing a photo.
example
{
type: 'photo',
title: 'Lunch Atop a Skyscraper',
}
Hierarchy
-
↳ Photo
Index
Properties
Properties
Optional artist
• artist? : undefined | string
The name of the photographer.
Optional creationDate
• creationDate? : undefined | string
The date and/or time at which the photo was taken, in ISO-8601 format.
Optional height
• height? : undefined | number
Photo height, in pixels.
Optional images
• images? : WebImage[]
Inherited from MediaMetadata.images
List of images, e.g. a poster image, album cover, photo etc.
Optional latitude
• latitude? : undefined | number
The latitude component of the geographical location where the photograph was taken.
Optional location
• location? : undefined | string
Location where the photo was taken. For example, "Seattle, Washington, USA".
Optional longitude
• longitude? : undefined | number
The longitude component of the geographical location where the photograph was taken.
Optional title
• title? : undefined | string
The title of the photo.
type
• type: "photo"
Overrides MediaMetadata.type
Media type.
Optional width
• width? : undefined | number
Photo width, in pixels.
