aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions.inc.php
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2007-05-25 22:02:47 +0000
committerrub <rub@piwigo.org>2007-05-25 22:02:47 +0000
commit70ad3c68fc9e3a149961a298e33d1a9130df1bcc (patch)
tree6da5b7f8d3fd18a9f4c0f6870d51f67c23685827 /include/functions.inc.php
parentbcb81f3efd51218ffccd5f2e802f3b7af0b33e0b (diff)
Improvement of picture url built
git-svn-id: http://piwigo.org/svn/trunk@2026 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--include/functions.inc.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/functions.inc.php b/include/functions.inc.php
index e80e3cb3a..81c5f6009 100644
--- a/include/functions.inc.php
+++ b/include/functions.inc.php
@@ -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;