Allow field name as image name
The image tag allows only icon name as name attribute. So this makes the image fixed for any record. It may be useful to make it depending on the record.
We could use a similar approach as for label tag by allowing to have a field name as name attribute. The client will get the value of the field which must contain the icon name.