note 47177 added to function.exif-thumbnail
| From: | bosseatmellbergdotorg at osu1 dot php dot net | Date: | Fri, 05 Nov 2004 06:59:27 +0000 |
| Subject: | note 47177 added to function.exif-thumbnail | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-80126@lists.php.net to get a copy of this message | ||
If the above function for retrieving exif thumbnails happens to generate a warning, the thumbnail
will be corrupt. This can happen if you use software for manipulating the exif-information and that
software rearranges the order and offsets of the exif tags.
To avoid corrupt thumbnails, insert the following just after the <?php tag:
// Turn off Error Reporting
error_reporting ( 0 );
Be sure to put this in both the function above as well as the calling script.
----
Manual Page -- http://www.php.net/manual/en/function.exif-thumbnail.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+47177
Delete -- http://master.php.net/manage/user-notes.php?action=delete+47177&report=yes
Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+47177&report=yes&reason=bad+code
Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+47177&report=yes&reason=spam
Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+47177&report=yes&reason=useless+example
Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+47177&report=yes&reason=contains+commercial+links
Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+47177&report=yes&reason=useless+note
Reject -- http://master.php.net/manage/user-notes.php?action=reject+47177&report=yes
Search -- http://master.php.net/manage/user-notes.php