Ext.onReady(function () { Ext.create('Ext.Img', { renderTo: Ext.getBody(), src: 'https://cdn1.iconfinder.com/data/icons/yooicons_set01_socialbookmarks/512/social_google_box.png', //defines the element that wraps around the image autoEl: { tag: 'a', href: 'http://www.google.com', target: '_blank' //add any other attributes to the 'a' tag as needed } }); });