Sha256: f4b5d56b600ccdfe17f5f555863e9495ecf54cb424db026532e48e837a16eabe

Contents?: true

Size: 1.04 KB

Versions: 26

Compression:

Stored size: 1.04 KB

Contents

# 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
  config.secure        = false # Set this to true if you require secure images on your pages.
end

Version data entries

26 entries across 26 versions & 2 rubygems

Version Path
fat_free_crm-0.12.3 config/initializers/gravatar.rb
fat_free_crm-0.12.2 config/initializers/gravatar.rb
fat_free_crm-0.13.1 config/initializers/gravatar.rb
fat_free_crm-0.12.1 config/initializers/gravatar.rb
fat_free_crm-0.13.0 config/initializers/gravatar.rb
fat_free_crm-0.12.0 config/initializers/gravatar.rb