re-add support for $ext in link template

This commit is contained in:
Shish 2020-07-07 16:02:29 +00:00
parent 065f9da2d6
commit 153aa481da

View File

@ -296,6 +296,7 @@ class ImageIO extends Extension
$event->replace('$hash', $event->image->hash);
$event->replace('$filesize', to_shorthand_int($event->image->filesize));
$event->replace('$filename', $base_fname);
$event->replace('$ext', $event->image->get_ext());
$event->replace('$date', autodate($event->image->posted, false));
}