add back image code to index.html.erb