5.3 and HHVM fix: http://www.php.net/manual/en/function.getimagesizefromstring.php#113976