Replacing images with cards.