function image_ncck_picasa_embedded_link in Embedded Media Field 5
hook image_ncck_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/
image_ncck/ providers/ picasa.inc, line 94
Code
function image_ncck_picasa_embedded_link($code, $data) {
$userid = $data['userid'];
$album = $data['album'];
$photoid = $data['photoid'];
return "http://picasaweb.google.com/{$userid}/{$album}/photo#{$photoid}";
}