Sha256: 7415d4a153ad07865c894c4e639df9adb7ca69d752126e216ed78124c7c38bc6

Contents?: true

Size: 1.14 KB

Versions: 48

Compression:

Stored size: 1.14 KB

Contents

Cmor::Galleries.configure do |config|
  # Set the base controller for the page controller
  #
  # Default: config.base_controller = '::ApplicationController'
  #
  config.base_controller = '::ApplicationController'

  # These options are the defaults that will be applied to when rendering
  # galleries through the galleries helper.
  #
  #  Default: config.galleries_helper_render_default_options = { variant_options: {}, show_details: false }
  #
  config.galleries_helper_render_default_options = { variant_options: {}, show_details: false }

  # These options are the defaults that will be applied to when rendering
  # pictures through the pictures helper.
  #
  #  Default: config.pictures_helper_render_default_options = { image_tag_only: true }
  #
  config.pictures_helper_render_default_options = { image_tag_only: true }

  # This options will be applied when rendering thumbails in galleries.
  #
  # Default: config.thumbnail_variant_options = { combine_options: { resize: "384x216^", extent: "384x216", gravity: "center" } }
  #
  config.thumbnail_variant_options = { combine_options: { resize: "384x216^", extent: "384x216", gravity: "center" } }
end

Version data entries

48 entries across 48 versions & 1 rubygems

Version Path
cmor_galleries-0.0.51.pre spec/dummy/config/initializers/cmor_galleries.rb
cmor_galleries-0.0.50.pre spec/dummy/config/initializers/cmor_galleries.rb
cmor_galleries-0.0.49.pre spec/dummy/config/initializers/cmor_galleries.rb
cmor_galleries-0.0.48.pre spec/dummy/config/initializers/cmor_galleries.rb
cmor_galleries-0.0.45.pre spec/dummy/config/initializers/cmor_galleries.rb
cmor_galleries-0.0.44.pre spec/dummy/config/initializers/cmor_galleries.rb
cmor_galleries-0.0.43.pre spec/dummy/config/initializers/cmor_galleries.rb
cmor_galleries-0.0.42.pre spec/dummy/config/initializers/cmor_galleries.rb
cmor_galleries-0.0.41.pre spec/dummy/config/initializers/cmor_galleries.rb
cmor_galleries-0.0.40.pre spec/dummy/config/initializers/cmor_galleries.rb
cmor_galleries-0.0.39.pre spec/dummy/config/initializers/cmor_galleries.rb
cmor_galleries-0.0.38.pre spec/dummy/config/initializers/cmor_galleries.rb
cmor_galleries-0.0.37.pre spec/dummy/config/initializers/cmor_galleries.rb
cmor_galleries-0.0.36.pre spec/dummy/config/initializers/cmor_galleries.rb
cmor_galleries-0.0.35.pre spec/dummy/config/initializers/cmor_galleries.rb
cmor_galleries-0.0.34.pre spec/dummy/config/initializers/cmor_galleries.rb
cmor_galleries-0.0.33.pre spec/dummy/config/initializers/cmor_galleries.rb
cmor_galleries-0.0.32.pre spec/dummy/config/initializers/cmor_galleries.rb
cmor_galleries-0.0.31.pre spec/dummy/config/initializers/cmor_galleries.rb
cmor_galleries-0.0.30.pre spec/dummy/config/initializers/cmor_galleries.rb