You are here

function _photos_labels in Album Photos 7.3

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

Format size label.

File

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

Code

function _photos_labels($sizes = 0) {
  if (!$sizes) {
    $t = photos_upload_info(0);
    $sizes = $t['size'];
  }
  foreach ($sizes as $size) {
    $label[] = $size['style'];
  }
  return $label;
}