You are here

function imagepicker_exif_check in Image Picker 6.2

Same name and namespace in other branches
  1. 7 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 2501
Imagepicker functions

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;
}