Replace images with sprites