diff --git a/src/abeautifulsite/SimpleImage.php b/src/abeautifulsite/SimpleImage.php index 7f5e8c5..21d6257 100644 --- a/src/abeautifulsite/SimpleImage.php +++ b/src/abeautifulsite/SimpleImage.php @@ -1093,7 +1093,7 @@ protected function get_meta_data() { 'width' => $info[0], 'height' => $info[1], 'orientation' => $this->get_orientation(), - 'exif' => function_exists('exif_read_data') && $info['mime'] === 'image/jpeg' && $imagestring === null ? $this->exif = @exif_read_data($this->filename) : null, + 'exif' => function_exists('exif_read_data') && $info['mime'] === 'image/jpeg' && $this->imagestring === null ? $this->exif = @exif_read_data($this->filename) : null, 'format' => preg_replace('/^image\//', '', $info['mime']), 'mime' => $info['mime'] );