You are here

function imagepicker_exif_check in Image Picker 7

Same name and namespace in other branches
  1. 6.2 imagepicker.functions.inc \imagepicker_exif_check()
2 calls to imagepicker_exif_check()
imagepicker_get_exifinfo in ./imagepicker.functions.inc
Function to fetch exif info
imagepicker_settings_form in ./imagepicker.admin.inc
Function to display the imagepicker admin settings form

File

./imagepicker.functions.inc, line 2560
@author Bob Hutchinson http://drupal.org/user/52366 @copyright GNU GPL

Code

function imagepicker_exif_check($silent = FALSE) {
  if (!function_exists('exif_imagetype')) {
    if (!$silent) {
      drupal_set_message(t('Function exif_imagetype does not exist.'));
      return FALSE;
    }
  }
  return TRUE;
}