- Timestamp:
- Aug 27, 2012, 8:32:10 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/album_notification.php
r15598 r17649 56 56 { 57 57 $query = ' 58 SELECT id, file, path 58 SELECT id, file, path, representative_ext 59 59 FROM '.IMAGES_TABLE.' 60 60 WHERE id = '.$category['representative_picture_id'].' … … 72 72 'category' => $category 73 73 )) 74 .'" class="thumblnk"><img src="'. get_thumbnail_url($element).'"></a>';74 .'" class="thumblnk"><img src="'.DerivativeImage::url(IMG_THUMB, $element).'"></a>'; 75 75 } 76 76 } -
trunk/include/common.inc.php
r15597 r17649 87 87 include(PHPWG_ROOT_PATH . 'include/config_default.inc.php'); 88 88 @include(PHPWG_ROOT_PATH. 'local/config/config.inc.php'); 89 if (!isset($conf['local_data_dir'])) $conf['local_data_dir'] = realpath(PHPWG_ROOT_PATH.$conf['data_location']); // temp 2.4 for backward compatibility90 89 91 90 defined('PWG_LOCAL_DIR') or define('PWG_LOCAL_DIR', 'local/'); 92 93 91 94 92 @include(PHPWG_ROOT_PATH.PWG_LOCAL_DIR .'config/database.inc.php'); -
trunk/include/functions.inc.php
r17351 r17649 809 809 810 810 811 /* Returns the URL of the thumbnail to be displayed. If the element does not812 * have a thumbnail, the default mime image url is returned. The URL can be813 * sent to the browser, but not used in the php script.814 * @param array element_info assoc array containing element info from db815 * at least 'path' and 'id' should be present816 */817 function get_thumbnail_url($element_info)818 {819 return DerivativeImage::thumb_url($element_info);820 }821 822 811 /** 823 812 * fill the current user caddie with given elements, if not already in
Note: See TracChangeset
for help on using the changeset viewer.