updated project_index.erb to display posts with images