image.rb 264 Bytes EditWeb IDE 1 2 3 4 5 6 7 8 9 10 11 12 module BlobViewer class Image < Base include Rich include ClientSide self.partial_name = 'image' self.extensions = UploaderHelper::IMAGE_EXT self.binary = true self.switcher_icon = 'picture-o' self.switcher_title = 'image' end end