re-add support for $ext in link template
This commit is contained in:
parent
065f9da2d6
commit
153aa481da
@ -296,6 +296,7 @@ class ImageIO extends Extension
|
|||||||
$event->replace('$hash', $event->image->hash);
|
$event->replace('$hash', $event->image->hash);
|
||||||
$event->replace('$filesize', to_shorthand_int($event->image->filesize));
|
$event->replace('$filesize', to_shorthand_int($event->image->filesize));
|
||||||
$event->replace('$filename', $base_fname);
|
$event->replace('$filename', $base_fname);
|
||||||
|
$event->replace('$ext', $event->image->get_ext());
|
||||||
$event->replace('$date', autodate($event->image->posted, false));
|
$event->replace('$date', autodate($event->image->posted, false));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user