Project

General

Profile

Actions

Patch #2734

closed

Use wavatar as a default for gravatar images

Added by Felix Schäfer about 15 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Accounts / authentication
Target version:
Start date:
2009-02-12
Due date:
% Done:

100%

Estimated time:

Description

I would recommend setting wavatar (or monsterid or identicons) as a default for the gravatar plugin, as having the "same" default gravatar for everyone not having one doesn't really help to tell people apart.

I don't know how hard it would be to make that a droplist to choose between the 3, but that might be a nice touch to it :-)

Patch:

$ svn diff vendor/plugins/gravatar/lib/gravatar.rb
Index: vendor/plugins/gravatar/lib/gravatar.rb
===================================================================
--- vendor/plugins/gravatar/lib/gravatar.rb     (revision 2363)
+++ vendor/plugins/gravatar/lib/gravatar.rb     (working copy)
@@ -13,7 +13,7 @@
   DEFAULT_OPTIONS = {
     # The URL of a default image to display if the given email address does
     # not have a gravatar.
-    :default => nil,
+    :default => 'wavatar',

     # The default size in pixels for the gravatar image (they're square).
     :size => 50,
@@ -64,4 +64,4 @@

   end

-end
\ No newline at end of file
+end


Files

gravatar_schemes.diff (3.02 KB) gravatar_schemes.diff Felix Schäfer, 2009-02-12 19:46

Related issues

Related to Redmine - Feature #4137: Use Gravatar ident icons instead of default "G" iconClosed2009-10-29

Actions
Actions

Also available in: Atom PDF