The translation was generated automatically and may contain mistakes

Photo

The object describing the photo contains the following fields:

id  

integer Photo ID.

album_id  

integer The ID of the album in which the photo is located.

owner_id  

integer Identification of the owner of the photo.

user_id  

integer Identification of the user who uploaded the photo (if the photo is posted in the community). For photos posted on behalf of the community, user_id = 100 .

text  

string Text description of the photo.

date  

integer Date added in Unixtime format.

thumb_hash  

string Compact representation of the image filler. It can be used to display a real image at the time of loading.

has_tags  

boolean Information about whether the image has tags.

sizes  

array Array with copies of the image in different sizes. Each array object contains the following fields:

width * 

integer The width of the original photo in pixels.

height * 

integer The height of the original photo in pixels.

The API version IS below 5.77

id

integer Photo ID.

album_id

integer The ID of the album in which the photo is located.

owner_id

integer Identification of the owner of the photo.

user_id

integer Identification of the user who uploaded the photo (if the photo is posted in the community). For photos posted on behalf of the community, user_id = 100 .

text

string Text description of the photo.

date

integer Date added in Unixtime format.

sizes

array Array with copies of the image in different sizes. Description of the object on a separate page . The field is returned only when the parameter is passed photo_sizes = 1 in the request. If the parameter is not passed, instead of the field sizes The fields described below are returned.

photo_75

string URL copies of the photo with the maximum size 75x75px .

photo_130

string URL copies of the photo with the maximum size 130x130px .

photo_604

string URL copies of the photo with the maximum size 604x604px .

photo_807

string URL copies of the photo with the maximum size 807x807px .

photo_1280

string URL copies of the photo with the maximum size 1280x1024px .

photo_2560

string URL copies of the photo with the maximum size 2560x2048px .

width *

integer The width of the original photo in pixels.

height *

integer The height of the original photo in pixels.

  • •
    Values may not be available for photos uploaded to the site before 2012.