Sha256: 19f0457d05de4270762a8efe5d29006e0490076365eb5d1599f7448283cecf54

Contents?: true

Size: 1.08 KB

Versions: 6

Compression:

Stored size: 1.08 KB

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
fat_free_crm-0.18.2 config/initializers/gravatar.rb
fat_free_crm-0.17.3 config/initializers/gravatar.rb
fat_free_crm-0.18.1 config/initializers/gravatar.rb
fat_free_crm-0.18.0 config/initializers/gravatar.rb
fat_free_crm-0.17.2 config/initializers/gravatar.rb
fat_free_crm-0.17.1 config/initializers/gravatar.rb