Client-side image resolution/size validation
问题 I'm designing a website for a printing company. They want an image size/resolution checker that will let their customers upload an image they want to print, and tell them if the image resolution is good enough for printing. I'm using Adobe Muse, so I need a simple HTML and CSS solution to this without any server-side requirements. This is what I have so far, based on this question: window.URL = window.URL || window.webkitURL; $("form").submit(function(e) { var form = this; e.preventDefault();