mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-05 09:22:21 +02:00
added event for src image url
simplify js in picture.tpl action.php fix history saving git-svn-id: http://piwigo.org/svn/trunk@13489 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -76,7 +76,12 @@ final class SrcImage
|
||||
|
||||
function get_url()
|
||||
{
|
||||
return embellish_url(get_root_url().$this->rel_path);
|
||||
$url = get_root_url().$this->rel_path;
|
||||
if ($this->flags & self::IS_ORIGINAL)
|
||||
{
|
||||
$url = trigger_event('get_src_image_url', $url, $this);
|
||||
}
|
||||
return embellish_url($url);
|
||||
}
|
||||
|
||||
function has_size()
|
||||
|
||||
Reference in New Issue
Block a user