full process of image upload
added upload from camera