Changeset 12954 for trunk/include/functions.inc.php
- Timestamp:
- 01/24/12 20:24:47 (17 months ago)
- Files:
-
- 1 modified
-
trunk/include/functions.inc.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/functions.inc.php
r12920 r12954 779 779 function get_thumbnail_url($element_info) 780 780 { 781 $loc = $url = get_thumbnail_location($element_info); 782 if ( !url_is_remote($loc) ) 783 { 784 $url = (get_root_url().$loc); 785 } 786 // plugins want another url ? 787 $url = trigger_event('get_thumbnail_url', $url, $element_info, $loc); 788 return embellish_url($url); 781 return DerivativeImage::thumb_url($element_info); 789 782 } 790 783
![(please configure the [header_logo] section in trac.ini)](http://piwigo.org/screenshots/piwigo_logo_on_white.png)