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:
parent
f1d6d58832
commit
7930f6d7aa
@ -854,6 +854,8 @@ function photos_content(&$a) {
|
|||||||
'$imgsrc' => $a->get_baseurl() . '/photo/' . $rr['resource_id'] . '-' . $rr['scale'] . '.' .$ext,
|
'$imgsrc' => $a->get_baseurl() . '/photo/' . $rr['resource_id'] . '-' . $rr['scale'] . '.' .$ext,
|
||||||
'$imgalt' => $imgalt_e,
|
'$imgalt' => $imgalt_e,
|
||||||
'$desc'=> $desc_e,
|
'$desc'=> $desc_e,
|
||||||
|
'$ext' => $ext,
|
||||||
|
'$hash'=> $rr['resource_id'],
|
||||||
));
|
));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user