Adds current IMG element as callback param

Not sure if the callback is called anywhere else, but this was helpful to me, so I thought I'd share it.
Merge pull request #3 from noslouch/master

Adds current IMG element as callback param