!
Zotlabs|Hubzilla Development I've been working on my game trophy/achievement plugin for hubzilla. I've saved a photo for the game. I can't view the photo. Is it possible to create a photo that is not associated with any particular user but is viewable by everyone. Basically the first user uploads the game information but it isn't associated with him. The image is for everyone who has a trophy for that game and is displayed on the trophy page.
Right now I tried to set a minimum amount of fields.
$p = array('resource_id' => $photoid,
'filename' => $_FILES['imagefile']['name'], 'imgscale' => 0, 'photo_usage' => PHOTO_NORMAL,
'width' => 460, 'height' => 215
);
For the time being I've created my own function to display the photo. I'd rather not do that. I could also store it in a gamerzilla specific table and have my own functions.