that’s my code :
<script type="text/javascript">
$(document).ready(function(){
$("#<%=fileUpload.ClientID%>").change(function () {
alert(// width + height );
});
});
</script>
<asp:FileUpload ID="fileUpload" runat="server" class="upload" />
Can i get the width and height of uploaded image from client side ??
How would you get the attributes of the image before the image is uploaded ? How could you be sure its even an image ? The client or server does not know anything about the file prior to upload. As far as I know, you can only get the name and size of the file.