note 72153 added to function.imagejpeg
| From: | john at mtslink dot com | Date: | Fri, 05 Jan 2007 04:07:50 +0000 |
| Subject: | note 72153 added to function.imagejpeg | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-121299@lists.php.net to get a copy of this message | ||
Just wanted to mention that the create_thumbnail script below fails on uppercase filenames. Many
cameras default to IMG_XX.JPG and since strpos is case sensitive it fails.
I changed all the strpos to stripos and it worked wonderfully.
----
Server IP: 216.194.113.175
Probable Submitter: 70.177.199.215
----
Manual Page -- http://www.php.net/manual/en/function.imagejpeg.php
Edit -- https://master.php.net/note/edit/72153
Del: integrated -- https://master.php.net/note/delete/72153/integrated
Del: useless -- https://master.php.net/note/delete/72153/useless
Del: bad code -- https://master.php.net/note/delete/72153/bad+code
Del: spam -- https://master.php.net/note/delete/72153/spam
Del: non-english -- https://master.php.net/note/delete/72153/non-english
Del: in docs -- https://master.php.net/note/delete/72153/in+docs
Del: other reasons-- https://master.php.net/note/delete/72153
Reject -- https://master.php.net/note/reject/72153
Search -- https://master.php.net/manage/user-notes.php