adds pictures to show and index pages