mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-08 01:32:59 +02:00
Improvement of picture url built
git-svn-id: http://piwigo.org/svn/trunk@2026 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user