function image_gd_check_settings

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

File

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

Code

function image_gd_check_settings() {
  // GD2 support is available.
  return function_exists('imagegd2');
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!system!image.gd.inc/function/image_gd_check_settings/7.x