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.