I'm betting the the path is incorrect. Try using a relative path for the image file and see if it works.
PHP does not use the same doc root as your domain IF you are using a virtual domain.
So, if the apache (assuming) root is something like: /var/www/html/DOMAIN , and the PHP doc root is something like: /var/www/html the path will not work correctly.
You can try a small trick like: $root = $HTTP_SERVER_VARS["DOCUMENT_ROOT"];
then do:
$image = $root . "/image/" . $filename;
GetImageSize("$image");
That last part is a bit of a hack, but sometimes it'll work.
It's most certainly a path problem though.
-- Jason