Image.class_eval do attachment_definitions[:attachment][:styles] = { :mini => '50x50>', :small => '150x150>', :product => '240x240>', :large => '600x600>' } end