handle img tag explicitly