added code to upload Dropcam image