function flickr_photo_get_info in Flickr 6
Same name and namespace in other branches
- 5 flickr.inc \flickr_photo_get_info()
Parameters
$photo_id: id of the photo to get info about
Return value
response from the flickr method flickr.photos.getInfo (http://www.flickr.com/services/api/flickr.photos.getInfo.html)
5 calls to flickr_photo_get_info()
- flickr_filter_callback_photo in filter/
flickr_filter.module - Filter callback for a photo.
- flickr_get_info_by_url in ./
flickr.inc - Given the URL to a flickr asset (set or photo), return info about that asset.
- flickr_img in ./
flickr.inc - This function will try to create a html image tag referencing the Flickr photo with the desired size if that size is available for this photo.
- theme_flickrfield_field_formatter in field/
flickrfield.module - Basic flickrfield formatter.
- theme_flickr_photo in ./
flickr.module
File
- ./
flickr.api.inc, line 13
Code
function flickr_photo_get_info($photo_id) {
$response = flickr_request('flickr.photos.getInfo', array(
'photo_id' => $photo_id,
));
if ($response) {
return $response['photo'];
}
return FALSE;
}