Replaces tables with images.