aboutsummaryrefslogblamecommitdiffstats
path: root/doc/en/hook/get_photo.bb
blob: eaf3beffbe457d98b828e8385d17bc584b474ffb (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                                                                    
[h2]get_photo[/h2]

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