Changeset 13489 for trunk/include


Ignore:
Timestamp:
Mar 6, 2012, 9:43:18 PM (13 years ago)
Author:
rvelices
Message:

added event for src image url
simplify js in picture.tpl
action.php fix history saving

File:
1 edited

Legend:

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

    r13452 r13489  
    7777  function get_url()
    7878  {
    79     return embellish_url(get_root_url().$this->rel_path);
     79    $url = get_root_url().$this->rel_path;
     80    if ($this->flags & self::IS_ORIGINAL)
     81    {
     82      $url = trigger_event('get_src_image_url', $url, $this);
     83    }
     84    return embellish_url($url);
    8085  }
    8186
Note: See TracChangeset for help on using the changeset viewer.