change directory images to bg images