image_gd_settings

Versions
4.6 – 7
image_gd_settings()

Retrieve settings for the GD2 toolkit (not used).

▾ 1 function calls image_gd_settings()

image_toolkit_invoke in includes/image.inc
Invokes the given method using the currently selected toolkit.

Code

includes/image.inc, line 177

<?php
function image_gd_settings() {
  if (image_gd_check_settings()) {
    return t('The built-in GD2 toolkit is installed and working properly.');
  }
  else {
    form_set_error('image_toolkit', 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' => '<a href="http://php.net/image">http://php.net/image</a>')));
    return false;
  }
}
?>
Login or register to post comments
 
 

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.