You are here

function _photos_get_thumbname in Album Photos 7.3

Same name and namespace in other branches
  1. 6.2 photos.module \_photos_get_thumbname()

Get thumbnail information by name.

1 call to _photos_get_thumbname()
photos_image_get in inc/photos.image.inc
Output image.

File

./photos.module, line 1699
Implementation of photos.module.

Code

function _photos_get_thumbname($name) {

  // @todo deprecated, use image styles.
  $t = photos_upload_info(0);
  foreach ($t['size'] as $c) {
    if ($c['name'] == $name) {
      return $c;
    }
  }
}