You are here

function imagecache_external_imagecache_external_needs_refresh_alter in Imagecache External 8

Same name and namespace in other branches
  1. 7.2 imagecache_external.module \imagecache_external_imagecache_external_needs_refresh_alter()

Implements hook_imagecache_external_needs_refresh_alter().

File

./imagecache_external.module, line 160
Allows the usage of Image Styles on external images.

Code

function imagecache_external_imagecache_external_needs_refresh_alter(&$needs_refresh, $filepath) {
  if (!file_exists($filepath)) {
    $needs_refresh = TRUE;
  }
}