function emimage_photobucket_embedded_link in Embedded Media Field 6
Same name and namespace in other branches
- 6.3 contrib/emimage/providers/photobucket.inc \emimage_photobucket_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
1 call to emimage_photobucket_embedded_link()
- emimage_photobucket_image_title in contrib/
emimage/ providers/ photobucket.inc - implement emimage_PROVIDER_image_title
File
- contrib/
emimage/ providers/ photobucket.inc, line 74 - This include processes photobucket.com image files for use by emfield.module.
Code
function emimage_photobucket_embedded_link($code, $data) {
return "http://s{$data['server']}.photobucket.com/albums/{$data['album']}/{$data['owner']}/?action=view¤t={$code}";
}