add home img set function