Represents a photo, either in an album or as an image attached to a post, a comment, or a message.
The (server-wide) unique identifier of this photo.
Globally-unique ActivityPub identifier for this photo. Use this to match photos across servers.
The URL of the web page representing this photo. For photos uploaded by remote users, points to their home server.
If this photo is in an album, the identifier of that album.
The identifier of the owner of this photo.
For a photo in an album in a group, the identifier of the user who uploaded this photo to the album.
A textual description of the photo. In case of post attachments, often used as an “alt text” to describe the image for the visually-impaired.
The unixtime timestamp when this photo was uploaded.
The BlurHash for the thumbnail.
An array describing the differently-sized images available for this photo.
The URL of this image size. The format of the image is determined by the image_format global parameter.
The width of this size in pixels.
The height of this size in pixels.
The designator for this size.
s– Scaled to fit into a 100x100 squarem– Scaled to fit into a 320x320 squarex– Scaled to fit into a 640x640 squarey– Scaled to fit into a 800x800 squarez– Scaled to fit into a 1280x1280 squarew– Scaled to fit into a 2560x2560 square
The width of the largest-size image for this photo in pixels.
The height of the largest-size image for this photo in pixels.
Extended fields
Returned by some photos.* methods that take the extended parameter, when that parameter is set to true.
Information about likes of this post.
How many users liked this photo.
Whether the current user can like this photo.
Whether the current user likes this photo.
The total number of comments on this photo.
Whether the current user can comment on this photo.
The total number of people tagged in this photo.