restored function for changing project image