Adds support for additional html options to be set on images