changes for image upload/download path management