Monster ID avatar generation

  • Tags : avatar
  • Latest : 0.1
  • Last Updated: 17 September 2009
  • Grails version : 1.1.1 > *
  • Authors : null
1 vote
Dependency :
compile ":monster:0.1"

Documentation

Summary

Installation

grails install-plugin monster

Description

A grails implementation of MonsterID: a method to generate a unique monster image based upon a certain identifier (user id, email address, whatever). It can be used to automatically provide personal avatar images in blog comments or other community services.

Concept and artwork courtesy of Andreas Gohr

Security Warnings

  • Any user may crash your application by providing huge values for width and height of the avatar via GET parameters!
  • What you provide as the seed attribute will be readable from the HTML source code of the page. For that reason use only data that other users of your application are allowed to see (usually not email addresses or - god beware - passwords)

Usage

<monster:image seed="user.id" width="100" height="100" />