Update images_controller.rb

Added index