function theme_imagecache in ImageCache 5
Same name and namespace in other branches
- 5.2 imagecache.module \theme_imagecache()
- 6.2 imagecache.module \theme_imagecache()
1 theme call to theme_imagecache()
File
- ./
imagecache.module, line 742 - Dynamic image resizer and image cacher.
Code
function theme_imagecache($namespace, $path, $alt = '', $title = '', $attributes = NULL) {
$attributes = drupal_attributes($attributes);
$imagecache_path = file_create_url(file_directory_path() . '/imagecache/' . $namespace . '/' . $path);
return '<img src="' . $imagecache_path . '" alt="' . check_plain($alt) . '" title="' . check_plain($title) . '" ' . $attributes . ' />';
}