PHP Warning: exif_thumbnail(IMG_4741.JPG): IFD data bad offset: 0xFFFFFCF2 length 0x0ED8 in /home/crberry/familyarchive/php/phpBug.php on line 3
length is :0
----
php -v
PHP 7.0.15-0ubuntu0.16.04.4 (cli) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
with Zend OPcache v7.0.15-0ubuntu0.16.04.4, Copyright (c) 1999-2017, by Zend Technologies
----
uname -a
Linux crberry-ThinkPad-R50e 4.4.0-66-generic #87-Ubuntu SMP Fri Mar 3 15:27:09 UTC 2017 i686 i686 i686 GNU/Linux
per your email request.. I still am getting the bug... Need more config information?
---- attributes of image file ----
-rwxrwxrwx 1 root root 2839434 Mar 31 2013 IMG_4741.JPG*
---- source php script ----
<?php IMG_4741. JPG'; $file, $width, $height, $type);
$file='
$image = exif_thumbnail(
echo "length is :" . strlen($image);
?>
---- output of running the script ----
php phpBug.php
PHP Warning: exif_thumbnail( IMG_4741. JPG): IFD data bad offset: 0xFFFFFCF2 length 0x0ED8 in /home/crberry/ familyarchive/ php/phpBug. php on line 3
length is :0
----
php -v
PHP 7.0.15- 0ubuntu0. 16.04.4 (cli) ( NTS ) 0ubuntu0. 16.04.4, Copyright (c) 1999-2017, by Zend Technologies
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
with Zend OPcache v7.0.15-
----
uname -a
Linux crberry- ThinkPad- R50e 4.4.0-66-generic #87-Ubuntu SMP Fri Mar 3 15:27:09 UTC 2017 i686 i686 i686 GNU/Linux