#21676 [Com]: GetImageSize nolonger works

From: Date: Mon, 12 May 2003 08:07:57 +0000
Subject: #21676 [Com]: GetImageSize nolonger works
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-39474@lists.php.net to get a copy of this message
ID: 21676 Comment by: fmeriot at hotmail dot com Reported By: moderator at blackpeeps dot com Status: Closed Bug Type: GetImageSize related Operating System: RAQ4-Latest Patches/Apache 1.3.2 PHP Version: 4.3.0 New Comment: I'have experienced the same problem with the getimagesize() function. I use it to test the size of a distant image to display on my site. If width is greater than 500 pix I force the width parameter to 500. This function works with some images but not with all. Example: It works with this one: http://images.ea.com/eagames/official/bf1942/screenshots_rome/full_screen_21.jpg It doesn't work with this one: http://www.dayofdefeatmod.com/media/images/Jagd1.jpg I have no error message. When I do that: $size = @getimagesize("http://www.dayofdefeatmod.com/media/images/Jagd1.jpg"); echo $size[0]; Nothing happens, nothing appears. Previous Comments: ------------------------------------------------------------------------ [2003-04-29 16:10:24] michael dot mauch at gmx dot de So you have two options: a) Wait until PHP 4.3.2 is released and installed at your site. b) Invent a time travel machine and give it to the PHP developers, so PHP 4.3.0 can be fixed before it was installed at your site. ------------------------------------------------------------------------ [2003-04-29 09:23:20] ruud at webhero dot nl It still doesn't work. My site still does have problems with @Getimagesize example: http://www.gamemag.nl/nieuws/item.php?id=2109 You see three screens, the fourth doesn't work. All images are from an external website and use the same functions. I don't have permission to change my PHPversion. Please help, Rudy Luiten ------------------------------------------------------------------------ [2003-02-22 05:19:09] helly@php.net This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. This one has been fixed by fixing a streams issue. ------------------------------------------------------------------------ [2003-01-31 13:52:04] sniper@php.net No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. ------------------------------------------------------------------------ [2003-01-16 13:47:43] iliaa@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip I cannot replicate the described bug using latest snapshot. If you still experience the problem try using the bundled GD library. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/21676 -- Edit this bug report at http://bugs.php.net/?id=21676&edit=1

« previous php.bugs (#39474) next »