You are here

function theme_flickr_photos in Flickr 7

Same name and namespace in other branches
  1. 5 flickr.module \theme_flickr_photos()
  2. 6 flickr.module \theme_flickr_photos()

Theme Flickr photos on a profile page.

2 theme calls to theme_flickr_photos()
flickr_photos in ./flickr.module
Flickr photos (as shown on a user profile).
flickr_tags_photos in tags/flickr_tags.module
Returns a user's photos with given tags.

File

./flickr.module, line 845
The Flickr module.

Code

function theme_flickr_photos($variables) {
  $photos = $variables['photos'];
  $output = theme('pager');
  $output .= "<div class='flickr-photoset'>\n";
  foreach ($photos['photo'] as $photo) {
    $output .= theme('flickr_photo_box', array(
      'photo' => $photo,
      'size' => 'm',
    ));
  }
  $output .= '</div>';
  $output .= theme('pager');
  return $output;
}