replace index text with photo