Pass hash and extension to the photo templates for plugins that require

links we can't construct from what's already there.
This commit is contained in:
Thomas Willingham 2014-01-08 22:50:44 +00:00
parent f1d6d58832
commit 7930f6d7aa

View File

@ -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'],
));
}