|  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
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-2024 The PHP Group
All rights reserved.
Last updated: Mon Jun 17 13:01:29 2024 UTC