fix for EXIF with strict types
This commit is contained in:
parent
c794e457b1
commit
edee8e7427
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ class PixelFileHandlerTheme extends Themelet
|
|||
$u_ilink = $image->get_image_link();
|
||||
if ($config->get_bool(ImageConfig::SHOW_META) && function_exists(ImageIO::EXIF_READ_FUNCTION)) {
|
||||
# FIXME: only read from jpegs?
|
||||
$exif = @exif_read_data($image->get_image_filename(), 0, true);
|
||||
$exif = @exif_read_data($image->get_image_filename(), "IFD0", true);
|
||||
if ($exif) {
|
||||
$head = "";
|
||||
foreach ($exif as $key => $section) {
|
||||
|
|
Reference in a new issue