add support for img tag only