Any ideas on the actual call to "$api->callApi('content_photo' ...."? Is that the right call to use? If so, not sure what the arguments need to be.
I've also tried this, but to no avail:
Code:
// Upload the file and add it
$response = $api->callApi('content_attach', 'upload', array('file' => $fileInfo));
$data = array(
'parentId' => $albumId,
'filedataid' => $response['filedataid'],
);
$response = $api->callApi('content_photo', 'add', array('data' => $data));