grails install-plugin monster
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
- 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)
<monster:image seed="user.id" width="100" height="100" />