You are here

function photos_upload_info in Album Photos 6.2

Same name and namespace in other branches
  1. 7.3 photos.module \photos_upload_info()
9 calls to photos_upload_info()
photos_admin_settings in inc/photos.admin.inc
photos_get_info in ./photos.module
photos_image_crop in ./photos.module
_photos_down_count in inc/photos.down.inc
_photos_down_label in inc/photos.down.inc

... See full list

File

./photos.module, line 976

Code

function photos_upload_info($t = 'd') {
  $info = variable_get('photos_size', false);
  if (is_array($info)) {
    if ($t) {
      usort($info, '_photos_cmp');
    }
    else {
      usort($info, '_photos_cmpt');
    }
    $v['count'] = count($info);
    $v['size'] = $info;
    return $v;
  }
  return false;
}