Support for html5 and png as image tag