is there any way to get the width and height of an image file without having to load it up using GD?
yes, use:
list($width, $height, $type, $attr) = getimagesize($whichimage);
where $whichimage points to your image. then you can echo the vars $width or just use them in calculations.
Hope that works.
Deeg