You are here

function emimage_picasa_request in Embedded Media Field 6

Same name and namespace in other branches
  1. 6.3 contrib/emimage/providers/picasa.inc \emimage_picasa_request()

This is a wrapper for image_cck_request_xml.

1 call to emimage_picasa_request()
emimage_picasa_data in contrib/emimage/providers/picasa.inc

File

contrib/emimage/providers/picasa.inc, line 43
This include processes picasa.com image files for use by emfield.module.

Code

function emimage_picasa_request($data = array(), $kind = '', $cached = TRUE) {
  $args['kind'] = $kind;
  $xml = module_invoke('emfield', 'request_xml', 'picasa', EMIMAGE_PICASA_REST_ENDPOINT . "{$data['userid']}/album/{$data['album']}/photoid/{$data['photoid']}", $args, $cached, FALSE, ":{$data['userid']}:{$data['album']}?{$data['photoid']}");
  return $xml;
}