Good day, I am building a web app using ExtJS4 and I want to put a href on an image.
I have an image defined as such:
{
xtype: 'image',
x: 87,
y: 180,
autoEl: {
tag: 'a',
href: 'resources/promoStubs/eventTalkPromo.jpg',
target: '_blank',
x: 87,
y: 180,
height: 30,
width: 30,
length: 30,
},
height: 30,
itemId: 'paw1',
width: 30,
src: 'resources/graphics/pawpromo.png'
},
I got the idea from this jsfiddle example
However, what happens is that the image is very large and the width and height properties are not applied at all to the image. Any ideas on how to specify width and height in an image with an autoEl property?
Any help is appreciated. Thanks.