Index: imageapi_gd.install =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/imageapi/imageapi_gd.install,v retrieving revision 1.8.2.1 diff -u -p -r1.8.2.1 imageapi_gd.install --- imageapi_gd.install 2 May 2009 19:45:10 -0000 1.8.2.1 +++ imageapi_gd.install 21 Oct 2009 12:34:40 -0000 @@ -74,10 +74,3 @@ function imageapi_gd_requirements($phase } return $requirements; } - -/** - * Implementation of hook_uninstall(). - */ -function imageapi_gd_uninstall() { - variable_del('imageapi_jpeg_quality'); -} Index: imageapi_gd.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/imageapi/imageapi_gd.module,v retrieving revision 1.13.2.7 diff -u -p -r1.13.2.7 imageapi_gd.module --- imageapi_gd.module 17 Apr 2009 00:15:21 -0000 1.13.2.7 +++ imageapi_gd.module 21 Oct 2009 12:34:40 -0000 @@ -13,23 +13,6 @@ function imageapi_gd_imageapi_toolkit() { } - -/** - * Settings form for the toolkit. - */ -function imageapi_gd_settings_form() { - $form['imageapi_jpeg_quality'] = array( - '#type' => 'textfield', - '#title' => t('JPEG quality'), - '#description' => t('Define the image quality for JPEG manipulations. Ranges from 0 to 100. Higher values mean better image quality, but bigger files.'), - '#size' => 10, - '#maxlength' => 3, - '#default_value' => variable_get('imageapi_jpeg_quality', 75), - '#field_suffix' => '%', - ); - return system_settings_form($form); -} - /** * Open an image file. * @@ -63,7 +46,7 @@ function imageapi_gd_image_close($image, return FALSE; } if ($extension == 'jpeg') { - return $function($image->resource, $destination, variable_get('imageapi_jpeg_quality', 75)); + return $function($image->resource, $destination, variable_get('image_jpeg_quality', 75)); } else { // Always save PNG images with full transparency.