Class: Ckeditor::Picture
- Inherits:
-
Asset
- Object
- ActiveRecord::Base
- Asset
- Ckeditor::Picture
show all
- Defined in:
- lib/generators/ckeditor/templates/mongoid/paperclip/ckeditor/picture.rb,
lib/generators/ckeditor/templates/mongoid/carrierwave/ckeditor/picture.rb,
lib/generators/ckeditor/templates/active_record/refile/ckeditor/picture.rb,
lib/generators/ckeditor/templates/active_record/dragonfly/ckeditor/picture.rb,
lib/generators/ckeditor/templates/active_record/paperclip/ckeditor/picture.rb,
lib/generators/ckeditor/templates/active_record/carrierwave/ckeditor/picture.rb
Constant Summary
Backend::Dragonfly::FORMATS
Instance Method Summary
collapse
included
included
#extract_dimensions, #magick, #url
included
included
Instance Method Details
#url_content ⇒ Object
11
12
13
|
# File 'lib/generators/ckeditor/templates/mongoid/paperclip/ckeditor/picture.rb', line 11
def url_content
url(:content)
end
|
#url_thumb ⇒ Object
8
9
10
|
# File 'lib/generators/ckeditor/templates/active_record/refile/ckeditor/picture.rb', line 8
def url_thumb
url(:fill, 118, 100)
end
|