function _imagecache_check_settings in ImageCache 5
Verify the image module and toolkit settings.
File
- ./
imagecache.module, line 713 - Dynamic image resizer and image cacher.
Code
function _imagecache_check_settings() {
// Sanity check : make sure we've got a working toolkit.
if (!image_get_toolkit()) {
drupal_set_message(t('Make sure you have a working image toolkit installed and enabled, for more information see: %settings.', array(
'%settings' => l(t('Image toolkit settings'), 'admin/settings/image-toolkit'),
)), 'error');
return FALSE;
}
return TRUE;
}