added support for HTML data attributes with fallback to img title element to combat tooltip popup from title attribute