Module: PagesCore::ImagesHelper
- Includes:
- DynamicImage::Helper
- Included in:
- ApplicationHelper, ImageEmbedder
- 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
7 8 9 10 11 12 |
# File 'app/helpers/pages_core/images_helper.rb', line 7 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
14 15 16 17 18 19 |
# File 'app/helpers/pages_core/images_helper.rb', line 14 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
21 22 23 24 25 26 |
# File 'app/helpers/pages_core/images_helper.rb', line 21 def uncropped_dynamic_image_tag(record_or_array, = {}) super( record_or_array, extract_alt_text(record_or_array).merge() ) end |