Add currently active src element as data attribute
Add classes to `img` element if available
Release 2.5.0