function image_ncck_imageshack_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/ imageshack.inc, line 62
Code
function image_ncck_imageshack_embedded_link($code, $data) {
return "http://{$data['server']}.imageshack.us/my.php?image={$code}";
}