Some EXIF data are in the IFD0 section
This let Lychee correctly handle all cases of https://github.com/recurser/exif-orientation-examples/ :-)
This commit is contained in:
parent
95e3f25522
commit
33f5fb1787
@ -832,7 +832,7 @@ final class Photo {
|
||||
}
|
||||
|
||||
// Read EXIF
|
||||
if ($info['mime']=='image/jpeg') $exif = @exif_read_data($url, 'EXIF', false, false);
|
||||
if ($info['mime']=='image/jpeg') $exif = @exif_read_data($url, 'EXIF,IFD0', false, false);
|
||||
else $exif = false;
|
||||
|
||||
// EXIF Metadata
|
||||
|
Loading…
Reference in New Issue
Block a user