upload now working, but needs to happen at the end (TBD) so switched it off when image is selected from the gallery