I believe you want this,
http://www.php.net/manual/en/function.getimagesize.php



<?php  
$size = GetImageSize ("path/to/your/image");
?>

<img src="path/to/your/image" <?php echo $size[3];?> >



on 4/10/02 1:11 AM, Steve Klugherz at [EMAIL PROTECTED] wrote:

> Is there anyway to gather image dimentions from a gif or a jpg file? I need
> to gather this information from user uploaded files and can not trust the
> user to enter them correctly. Any ideas?
> 
> 


-- 
s t e v e  b i s s o n n e t t e
[EMAIL PROTECTED]

PLANK. A multi-faceted-media company.
http://www.plankdesign.com
v. 514.875.0003   f. 514.875.7611




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to