You are here

function emimage_imageshack_embedded_link in Embedded Media Field 6

Same name and namespace in other branches
  1. 6.3 contrib/emimage/providers/imageshack.inc \emimage_imageshack_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/imageshack.inc, line 76
This include processes imageshack.com image files for use by emfield.module.

Code

function emimage_imageshack_embedded_link($code, $data) {
  return "http://{$data['server']}.imageshack.us/my.php?image={$code}";
}