You are here

function emimage_picasa_embedded_link in Embedded Media Field 6

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

hook emimage_PROVIDER_embedded_link($code) returns a link to view the content at the provider's site

Parameters

$code: the string containing the content to watch @return a string containing the URL to view the image at the original provider's site

File

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

Code

function emimage_picasa_embedded_link($code, $data) {
  $userid = $data['userid'];
  $album = $data['album'];
  $photoid = $data['photoid'];
  return "http://picasaweb.google.com/{$userid}/{$album}/photo#{$photoid}";
}