image_gd_settings

Definition

image_gd_settings()
includes/image.inc, line 190

Description

Retrieve settings for the GD2 toolkit (not used).

Code

<?php
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'))));
  }
}
?>
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.