Upload images by submitting form and reloading