adding images to show pages and index pages