Use of EXIF thumbnails optional (opt-out).

This commit is contained in:
Lars Jung 2013-08-31 14:34:42 +02:00
parent 00cc9fb713
commit 8b2852ec9d
2 changed files with 5 additions and 2 deletions

View file

@ -56,7 +56,8 @@ class Thumb {
$image = new Image();
$et = false;
if (function_exists("exif_thumbnail")) {
$opts = $this->app->get_options();
if ($opts["thumbnails"]["exif"] === true && function_exists("exif_thumbnail")) {
$et = @exif_thumbnail($source_abs_path);
}
if($et !== false) {