image_gd_check_settings

5 image.inc image_gd_check_settings()
6 image.gd.inc image_gd_check_settings()
7 image.gd.inc image_gd_check_settings()
8 image.gd.inc image_gd_check_settings()

Verify GD2 settings (that the right version is actually installed).

Return value

A boolean indicating if the GD toolkit is available on this machine.

Related topics

3 calls to image_gd_check_settings()

2 string references to 'image_gd_check_settings'

File

modules/system/image.gd.inc, line 58
GD2 toolkit for image manipulation within Drupal.

Code

function image_gd_check_settings() {
  if ($check = get_extension_funcs('gd')) {
    if (in_array('imagegd2', $check)) {
      // GD2 support is available.
      return TRUE;
    }
  }
  return FALSE;
}
Login or register to post comments