changed image.rb