You are here

function image_gd_settings in Drupal 4

Same name and namespace in other branches
  1. 5 includes/image.inc \image_gd_settings()
  2. 6 includes/image.gd.inc \image_gd_settings()
  3. 7 modules/system/image.gd.inc \image_gd_settings()

Retrieve settings for the GD2 toolkit (not used).

1 call to image_gd_settings()
image_toolkit_invoke in includes/image.inc
Invokes the given method using the currently selected toolkit.

File

includes/image.inc, line 190

Code

function image_gd_settings() {
  if (image_gd_check_settings()) {
    return array(
      '#type' => 'item',
      '#value' => t('The built-in GD2 toolkit is installed and working properly.'),
    );
  }
  else {
    return array(
      '#type' => 'item',
      '#value' => t('The built-in GD image toolkit requires that the GD module for PHP be installed and configured properly. For more information see %url.', array(
        '%url' => l('http://php.net/image', 'http://php.net/image'),
      )),
    );
  }
}