Module: PagesCore::ImagesHelper
- Includes:
- DynamicImage::Helper
- Included in:
- ApplicationHelper, HtmlFormatter
- Defined in:
- app/helpers/pages_core/images_helper.rb
Instance Method Summary collapse
- #dynamic_image_tag(record_or_array, options = {}) ⇒ Object
- #original_dynamic_image_tag(record_or_array, options = {}) ⇒ Object
- #uncropped_dynamic_image_tag(record_or_array, options = {}) ⇒ Object
Instance Method Details
#dynamic_image_tag(record_or_array, options = {}) ⇒ Object
5 6 7 8 9 10 |
# File 'app/helpers/pages_core/images_helper.rb', line 5 def dynamic_image_tag(record_or_array, = {}) super( record_or_array, extract_alt_text(record_or_array).merge() ) end |
#original_dynamic_image_tag(record_or_array, options = {}) ⇒ Object
12 13 14 15 16 17 |
# File 'app/helpers/pages_core/images_helper.rb', line 12 def original_dynamic_image_tag(record_or_array, = {}) super( record_or_array, extract_alt_text(record_or_array).merge() ) end |
#uncropped_dynamic_image_tag(record_or_array, options = {}) ⇒ Object
19 20 21 22 23 24 |
# File 'app/helpers/pages_core/images_helper.rb', line 19 def uncropped_dynamic_image_tag(record_or_array, = {}) super( record_or_array, extract_alt_text(record_or_array).merge() ) end |