2018-08-03 03:15:25 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-04-13 13:21:07 -04:00
|
|
|
module BlobViewer
|
|
|
|
class Image < Base
|
|
|
|
include Rich
|
|
|
|
include ClientSide
|
|
|
|
|
|
|
|
self.partial_name = 'image'
|
|
|
|
self.extensions = UploaderHelper::IMAGE_EXT
|
2017-04-24 13:51:56 -04:00
|
|
|
self.binary = true
|
2017-04-13 13:21:07 -04:00
|
|
|
self.switcher_icon = 'picture-o'
|
|
|
|
self.switcher_title = 'image'
|
|
|
|
end
|
|
|
|
end
|