added image uploading capabilitites