You are here

function media_flickr_photo_url_from_size in Media: Flickr 6

2 calls to media_flickr_photo_url_from_size()
_media_flickr_photoset_load_photos in ./media_flickr.utilities.inc
Returns an array of all URLs for photos associated with a photoset, associated by photo code. These will be of the Flickr specified size (1-5), and may be local or remote, based on settings and availability.
_media_flickr_photo_url in ./media_flickr.utilities.inc
Based on the Photo ID of a Flickr image, this will return the URL to the image itself.

File

./media_flickr.module, line 230
Embedded Video Field provider file for Flickr.com photosets.

Code

function media_flickr_photo_url_from_size($photo_code, $size = 5) {
  module_load_include('inc', 'media_flickr', 'media_flickr.utilities');
  return _media_flickr_photo_url_from_size($photo_code, $size);
}