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'
|
2019-09-23 14:06:14 -04:00
|
|
|
self.extensions = UploaderHelper::SAFE_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
|