Sha256: 5d3d46f5cbb1a6636ac7ffeebbdb3d708dd1a79f4d9c9d48f6a6086ba53215e0

Contents?: true

Size: 1007 Bytes

Versions: 7

Compression:

Stored size: 1007 Bytes

Contents

# frozen_string_literal: true

# Copyright (c) 2008-2013 Michael Dvorkin and contributors.
#
# Fat Free CRM is freely distributable under the terms of MIT license.
# See MIT-LICENSE file or http://www.opensource.org/licenses/mit-license.php
#------------------------------------------------------------------------------
GravatarImageTag.configure do |config|
  config.default_image = :mm   # Set this to use your own default gravatar image rather then serving up Gravatar's default image [ 'http://example.com/images/default_gravitar.jpg', :identicon, :monsterid, :wavatar, 404 ].
  config.filetype      = nil   # Set this if you require a specific image file format ['gif', 'jpg' or 'png'].  Gravatar's default is png
  config.rating        = nil   # Set this if you change the rating of the images that will be returned ['G', 'PG', 'R', 'X']. Gravatar's default is G
  config.size          = nil   # Set this to globally set the size of the gravatar image returned (1..512). Gravatar's default is 80
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
fat_free_crm-0.22.1 config/initializers/gravatar.rb
fat_free_crm-0.22.0 config/initializers/gravatar.rb
fat_free_crm-0.21.0 config/initializers/gravatar.rb
fat_free_crm-0.20.1 config/initializers/gravatar.rb
fat_free_crm-0.20.0 config/initializers/gravatar.rb
fat_free_crm-0.19.2 config/initializers/gravatar.rb
fat_free_crm-0.19.0 config/initializers/gravatar.rb