|  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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: ales dot kunst at uni-mb dot si
New email:
PHP Version: OS:


 [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-2021 The PHP Group
All rights reserved.
Last updated: Thu Apr 15 12:01:24 2021 UTC