note 43666 added to function.getimagesize
| From: | php at oostende dot nl | Date: | Tue, 29 Jun 2004 20:20:09 +0000 |
| Subject: | note 43666 added to function.getimagesize | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-72132@lists.php.net to get a copy of this message | ||
As others, I found that getimagesize doesn't work as expected when using relative paths, at
least on jpegs. The createimagefrompjpeg isn't always the solution because you may not know the
exact image type. Using the complete path (from the server root) instead works ok, just like it is
used in the TTF-like functions. Not ideal, but at least a working solution.
----
Manual Page -- http://www.php.net/manual/en/function.getimagesize.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+43666
Delete -- http://master.php.net/manage/user-notes.php?action=delete+43666&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+43666&report=yes
Search -- http://master.php.net/manage/user-notes.php