Sha256: 2a320f9c1cbe99dabb6c990f258ce7dbc7ff670ece683d8a972c239dbf87bcfa

Contents?: true

Size: 1.16 KB

Versions: 57

Compression:

Stored size: 1.16 KB

Contents

Cmor::Galleries.configure do |config|
  # Set the base controller for the page controller
  #
  # Default: config.base_controller = '<%= base_controller_class_name %>'
  #
  config.base_controller = '<%= base_controller_class_name %>'

  # 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

57 entries across 57 versions & 1 rubygems

Version Path
cmor_galleries-0.0.60.pre lib/generators/cmor/galleries/install/templates/initializer.rb
cmor_galleries-0.0.59.pre lib/generators/cmor/galleries/install/templates/initializer.rb
cmor_galleries-0.0.58.pre lib/generators/cmor/galleries/install/templates/initializer.rb
cmor_galleries-0.0.57.pre lib/generators/cmor/galleries/install/templates/initializer.rb
cmor_galleries-0.0.56.pre lib/generators/cmor/galleries/install/templates/initializer.rb
cmor_galleries-0.0.55.pre lib/generators/cmor/galleries/install/templates/initializer.rb
cmor_galleries-0.0.54.pre lib/generators/cmor/galleries/install/templates/initializer.rb
cmor_galleries-0.0.53.pre lib/generators/cmor/galleries/install/templates/initializer.rb
cmor_galleries-0.0.52.pre lib/generators/cmor/galleries/install/templates/initializer.rb
cmor_galleries-0.0.51.pre lib/generators/cmor/galleries/install/templates/initializer.rb
cmor_galleries-0.0.50.pre lib/generators/cmor/galleries/install/templates/initializer.rb
cmor_galleries-0.0.49.pre lib/generators/cmor/galleries/install/templates/initializer.rb
cmor_galleries-0.0.48.pre lib/generators/cmor/galleries/install/templates/initializer.rb
cmor_galleries-0.0.45.pre lib/generators/cmor/galleries/install/templates/initializer.rb
cmor_galleries-0.0.44.pre lib/generators/cmor/galleries/install/templates/initializer.rb
cmor_galleries-0.0.43.pre lib/generators/cmor/galleries/install/templates/initializer.rb
cmor_galleries-0.0.42.pre lib/generators/cmor/galleries/install/templates/initializer.rb
cmor_galleries-0.0.41.pre lib/generators/cmor/galleries/install/templates/initializer.rb
cmor_galleries-0.0.40.pre lib/generators/cmor/galleries/install/templates/initializer.rb
cmor_galleries-0.0.39.pre lib/generators/cmor/galleries/install/templates/initializer.rb