<img src="" id=i0 =chk()>
<input type=file id=fl onchange="i0.src=this.value">

<script>
function chk() {
    a=document.images.i0;
    alert(a.width+'x'+a.height+'='+a.fileSize);
}
</script>

+ Recent posts