Add background-image support with auto-detection based on tagName