photo upload form altered to include html <form> functionality