Pekka
26th of February 2003 (Wed), 14:11
There is a bug in PHP 4.3 and 4.3.1 which prevents photo display in some occasions. To go around this bug do this:
In photo.php change lines (around line 1200)
if ($s_imagecheckifthere=="1" OR $s_imagecheckifthere=="2") {
$sizetag = @getimagesize($url);
}
to
if ($s_imagecheckifthere=="1" OR $s_imagecheckifthere=="2") {
$sizetag = @getimagesize($url,$info);
}
In photo.php change lines (around line 1200)
if ($s_imagecheckifthere=="1" OR $s_imagecheckifthere=="2") {
$sizetag = @getimagesize($url);
}
to
if ($s_imagecheckifthere=="1" OR $s_imagecheckifthere=="2") {
$sizetag = @getimagesize($url,$info);
}