improved picture upload form