function shrinktheweb_getThumbnailURL in ShrinkTheWeb 6
Same name and namespace in other branches
- 8 shrinktheweb.api.inc \shrinktheweb_getThumbnailURL()
- 7 shrinktheweb.api.inc \shrinktheweb_getThumbnailURL()
Gets the thumbnail for the specified website, stores it in the cache, and then returns the HTML for loading the image. !!! SLIGTHLY CHANGED FOR DRUPAL !!!
1 call to shrinktheweb_getThumbnailURL()
- shrinktheweb_get_thumbnail in ./
shrinktheweb.module - Generates or returns the path/source of the thumbnail
File
- ./
shrinktheweb.api.inc, line 37
Code
function shrinktheweb_getThumbnailURL($sUrl, $aOptions = array()) {
$sImageURL = false;
$aOptions = shrinktheweb_generateOptions($aOptions);
$sImageURL = shrinktheweb_getThumbnailAdvanced($sUrl, $aOptions);
return $sImageURL;
}