Updates pages#index to display images