diff options
author | Thomas Willingham <founder@kakste.com> | 2014-01-08 22:50:44 +0000 |
---|---|---|
committer | Thomas Willingham <founder@kakste.com> | 2014-01-08 22:50:44 +0000 |
commit | 7930f6d7aa7741c0e2f3bdc7a404bf27ddf125ad (patch) | |
tree | ab229cf85ad5348db431cbac91cfe4e06d3b727c /mod | |
parent | f1d6d5883238cec7384b5ac6b00b5d0321ecece5 (diff) | |
download | volse-hubzilla-7930f6d7aa7741c0e2f3bdc7a404bf27ddf125ad.tar.gz volse-hubzilla-7930f6d7aa7741c0e2f3bdc7a404bf27ddf125ad.tar.bz2 volse-hubzilla-7930f6d7aa7741c0e2f3bdc7a404bf27ddf125ad.zip |
Pass hash and extension to the photo templates for plugins that require
links we can't construct from what's already there.
Diffstat (limited to 'mod')
-rw-r--r-- | mod/photos.php | 2 |
1 files changed, 2 insertions, 0 deletions
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'], )); } |