|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12200 getimagesize() JPG Bug
Submitted: 2001-07-17 06:58 UTC Modified: 2001-08-20 11:55 UTC
From: ales dot kunst at uni-mb dot si Assigned:
Status: Closed Package: GetImageSize related
PHP Version: 4.0.6 OS: Win 2000
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
2 - 1 = ?
Subscribe to this entry?

 [2001-07-17 06:58 UTC] ales dot kunst at uni-mb dot si
GD library doesn't work properly when you call getimagesize() for jpeg image!It doesn't return proper width and height of image (usually returns -1 and -1)


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-07-21 20:55 UTC]
Please include a short sample script so I can test this.
 [2001-07-21 20:57 UTC]
 [2001-07-26 20:25 UTC]
FYI, getimagesize() doesn't use anything from GD library. 

Could you please try the latest CVS snapshot
from here: and if that 
fails too, include a URL to the failing image into this bug report.

 [2001-08-20 11:55 UTC]
No feedback. Reopen if you still have this problem
with PHP 4.0.7 (soon to be released) or with latest CVS 
snapshot from

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Jun 17 13:01:29 2024 UTC