You are here

function shrinktheweb_getThumbnailURL in ShrinkTheWeb 7

Same name and namespace in other branches
  1. 8 shrinktheweb.api.inc \shrinktheweb_getThumbnailURL()
  2. 6 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 36

Code

function shrinktheweb_getThumbnailURL($sUrl, $aOptions = array()) {
  $sImageURL = false;
  $aOptions = shrinktheweb_generateOptions($aOptions);
  $sImageURL = shrinktheweb_getThumbnailAdvanced($sUrl, $aOptions);
  return $sImageURL;
}