Sha256: be2c8f113886e003f6fee710cb060574cc7aecf03a8d02e85099a6b180f3b602

Contents?: true

Size: 621 Bytes

Versions: 1

Compression:

Stored size: 621 Bytes

Contents

module Spotlight
  module JcropHelper
    def default_masthead_jcrop_options
      {
        croppable: true,
        selector: 'masthead_image',
        bg_color: 'black',
        bg_opacity: '.4',
        aspect_ratio: 15,
        box_width: '600',
        initial_set_select: '[0, 0, 1800, 120]'
      }
    end

    def default_thumbnail_jcrop_options
      {
        croppable: true,
        selector: 'featuredimage_image',
        bg_color: 'black',
        bg_opacity: '.4',
        box_width: '600',
        aspect_ratio: 4.0 / 3.0,
        initial_set_select: '[0, 0, 100000, 100000]'
      }
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
blacklight-spotlight-0.4.1 app/helpers/spotlight/jcrop_helper.rb