I have a script where I can upload images, and then my script resizes them (and does a number of other things with it, but this part is making it go slow).
if ($imagelink != NULL) {
$imagelinksize = getimagesize(ereg_replace(" ", "%20" , "$imagelink"));
$lwidth = $imagelinksize[0];
$lheight = $imagelinksize[1];
echo "<a href=\"$imagelink\"><img src=\"$imagelink\" ";
echo image_size($lwidth,$lheight);
echo "></a>";
}
$imagelink would be http://www.guster.com/road/ryansumo.jpg
someone else posted it on the script and it made it slow. The funny thing is the entire page didnt load for about 15 seconds, then it showed up. If that host was slow wouldn't the page load and the image slowly load? That's what has me confused and why I am thinking it's in my php.