Show
Ignore:
Timestamp:
01/24/12 20:24:47 (17 months ago)
Author:
rvelices
Message:

feature 2548 multisize
- added define_derivative template functiion for themes and plugins
- code cleanup, new events ...

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/include/functions.inc.php

    r12920 r12954  
    779779function get_thumbnail_url($element_info) 
    780780{ 
    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); 
    789782} 
    790783