Changed image type on index.html.erb to match the model