modified photo index.html.erb file