Improvement of picture url built

git-svn-id: http://piwigo.org/svn/trunk@2026 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rub
2007-05-25 22:02:47 +00:00
parent bcb81f3efd
commit 70ad3c68fc
3 changed files with 17 additions and 6 deletions
+2 -1
View File
@@ -792,8 +792,9 @@ function get_thumbnail_url($element_info)
$path = get_thumbnail_location($element_info);
if ( !url_is_remote($path) )
{
$path = get_root_url().$path;
$path = embellish_url(get_root_url().$path);
}
// plugins want another url ?
$path = trigger_event('get_thumbnail_url', $path, $element_info);
return $path;