Changeset 14829
- Timestamp:
- 05/07/12 15:44:28 (13 months ago)
- Files:
-
- 1 modified
-
trunk/admin/include/functions_upload.inc.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/include/functions_upload.inc.php
r14221 r14829 540 540 return null; 541 541 } 542 543 function file_path_for_type($file_path, $type='thumb')544 {545 // resolve the $file_path depending on the $type546 if ('thumb' == $type) {547 $file_path = get_thumbnail_location(548 array(549 'path' => $file_path,550 'tn_ext' => 'jpg',551 )552 );553 }554 555 if ('high' == $type) {556 @include_once(PHPWG_ROOT_PATH.'include/functions_picture.inc.php');557 $file_path = get_high_location(558 array(559 'path' => $file_path,560 'has_high' => 'true'561 )562 );563 }564 565 return $file_path;566 }567 568 542 ?>
![(please configure the [header_logo] section in trac.ini)](http://piwigo.org/screenshots/piwigo_logo_on_white.png)