anyone know how to detect an image's width and height?
$img_size = getimagesize('http://whatever.com/image.gif');
It's also in the manual
http://www.php.net/manual/en/function.getimagesize.php
you can also do
$img_size = getimagesize('img/whatever.gif');
echo "<img src=\"img/whatever.gif\" {$img_size[1]}>";
use 1 - 10 depending on what type of image you have
see the manual
lol...i looked in the manual and the only example that was there did not have correct syntax which misguided me... i only need the ' between the getimagesize function.. THANKS!