Sha256: 465708240a07d9ca7491867fa34667d542b63a918c721cd7a7dd891cffe1ca14

Contents?: true

Size: 562 Bytes

Versions: 7

Compression:

Stored size: 562 Bytes

Contents

Guts.configure do |config|
  # Default image sizing
  # Images will be sized to these specifications by PaperClip
  # A dropdown for inserting images into TinyMCE will also show these choices
  config.file_image_sizing = {
    thumb: '50x50',
    small: '100x100',
    compact: '160x160',
    medium: '240x240',
    large: '480x480',
    grande: '600x600',
    supreme: '1200x1200'
  }

  # Default allowed file types which PaperClip will accept
  config.file_allowed_content_types = [
    'image/jpg',
    'image/jpeg',
    'image/png',
    'image/gif'
  ]
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
guts-3.0.1 config/initializers/guts.rb
guts-3.0.0 config/initializers/guts.rb
guts-2.1.0 config/initializers/guts.rb
guts-2.0.2 config/initializers/guts.rb
guts-2.0.1 config/initializers/guts.rb
guts-2.0.0 config/initializers/guts.rb
guts-1.4.0 config/initializers/guts.rb