Documentation Hubzilla
This page is not yet available in français. See /help/developer/developer_guide#Translations for information about how to help.
Contenus
get_photo
Called when fetching the content of photos (except for profile photos) in mod_photo.
Hook arguments:
'imgscale' => integer resolution requested
'resource_id' => resource_id of requested photo
'photo' => array of matching photo table rows after querying for the photo
'allowed' => whether or not access to this resource is allowed