Detect whether javascript is enabled, and default to the standard picture upload procedure, if not.