index displaying pictures and basic show page functioning