Unsure, but I replaced this with a cURL call saving it to a temp file to use for getimagesize() so there's only one request.