From 7930f6d7aa7741c0e2f3bdc7a404bf27ddf125ad Mon Sep 17 00:00:00 2001 From: Thomas Willingham Date: Wed, 8 Jan 2014 22:50:44 +0000 Subject: Pass hash and extension to the photo templates for plugins that require links we can't construct from what's already there. --- mod/photos.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mod/photos.php') diff --git a/mod/photos.php b/mod/photos.php index 4a0fb01b8..51a680828 100644 --- a/mod/photos.php +++ b/mod/photos.php @@ -854,6 +854,8 @@ function photos_content(&$a) { '$imgsrc' => $a->get_baseurl() . '/photo/' . $rr['resource_id'] . '-' . $rr['scale'] . '.' .$ext, '$imgalt' => $imgalt_e, '$desc'=> $desc_e, + '$ext' => $ext, + '$hash'=> $rr['resource_id'], )); } -- cgit v1.2.3