You are here

function shrinktheweb_get_thumbnail in ShrinkTheWeb 6

Same name and namespace in other branches
  1. 8 shrinktheweb.module \shrinktheweb_get_thumbnail()
  2. 7 shrinktheweb.module \shrinktheweb_get_thumbnail()

Generates or returns the path/source of the thumbnail

@access public

Parameters

string $url The URL of the web page:

array $options Overwrite the options set in admin config:

Return value

mixed Thumbnail path/source or FALSE

1 call to shrinktheweb_get_thumbnail()
theme_shrinktheweb_image in ./shrinktheweb.module
Displays the thumbnail.

File

./shrinktheweb.module, line 73

Code

function shrinktheweb_get_thumbnail($url, $options = array()) {
  module_load_include('inc', 'shrinktheweb', 'shrinktheweb.api');
  $sImageURL = shrinktheweb_getThumbnailURL($url, $options);
  return $sImageURL;
}