still trying to work out proper way to flip photos. Who'd have thought it should be this difficult... storing a working version of upload. Will branch for any additional hacking