Through it we can check the size of the picture
----------------
Code
----------------
title>
HEAD>
Function changephoto ()
{
Document.all.img1.src = document.All.file1.value;
}
Function show ()
{
IF (Document.all.file1.Value == "")
Alert ("Yes No photo provided");
Else
Alert ("Selected Picture Size:" Document.all.img1.FileSize "/ N Width:" Document.all.img1.width "/ N Height:" Document.all.img1.Height);
}
// ->
Script>