mbarbieri/play-gravatar — pull request #1 by jagregory (2011-11-16 21:59:08+00:00)
Title: Extra <img> tag attributes

Hi,

I've made a few small changes to the `img` tag that's produced by `#{gravatar.img ...}`.

* Self-closing tag rather than the open/close style. `` instead of ``
* When a `size` is specified, the `width` and `height` html attributes are output; this prevents the page jerk issue when you've got slow loading images
* Output an empty `alt` attribute by default, and support passing an `alt` parameter to the tag. `#{gravatar.img alt:'some text' /}` produces ``

Cheers, and thanks for the module!