I am migrating a site from a server that has PHP 4.2.2 to a server that has PHP 4.3.9. On the PHP 4.2.2 server getimagesize worked just fine, but on the PHP 4.3.9 server it does not work.
Here is the code.
list($width, $height) = getimagesize(rtrim("images/eventid_" . $row['event_id'] . "_images/" . $row['picture']));
echo $width . " " . $height . " width and height";
The width and the height don't echo anything.
Is there another way of getting the image size?