PHP Kod: Kodu kopyalamak için üzerine çift tıklayın!
<?php
list($width, $height, $type, $attr) = getimagesize("resiminiz.jpg");
echo "Image width " .$width;//genişlik
echo "<BR>";
echo "Image height " .$height;//yükseklik
echo "<BR>";
echo "Image type " .$type;//tipi gif,jpg,png,v.s
echo "<BR>";
echo "Attribute " .$attr;//ready only,hidden,v.s
?>