LPS-48171 Add support for attribute map on img elements