Login required
Download

Monster ID avatar generation

(1)
Author(s) Jonas Nordstrand
Current Release 0.1   (2 years ago)
Grails Version 1.1.1 > *
Tags
Dependency
compile ":monster:0.1"
Last updated by jnord 2 years ago
grails install-plugin monster
Last updated by dicer 7 months ago
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" />
Last updated by admin 2 years ago
Last updated by jnord 2 years ago