function shrinktheweb_get_thumbnail in ShrinkTheWeb 7
Same name and namespace in other branches
- 8 shrinktheweb.module \shrinktheweb_get_thumbnail()
- 6 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 67
Code
function shrinktheweb_get_thumbnail($url, $options = array()) {
module_load_include('inc', 'shrinktheweb', 'shrinktheweb.api');
$sImageURL = shrinktheweb_getThumbnailURL($url, $options);
return $sImageURL;
}