Image uploading functionality partially added