You are here

function _photos_get_thumbname in Album Photos 6.2

Same name and namespace in other branches
  1. 7.3 photos.module \_photos_get_thumbname()
1 call to _photos_get_thumbname()
photos_image_get in inc/photos.image.inc

File

./photos.module, line 1059

Code

function _photos_get_thumbname($name) {
  $t = photos_upload_info(0);
  foreach ($t['size'] as $c) {
    if ($c['name'] == $name) {
      return $c;
    }
  }
}