Forum /
Sencha Touch 2.x Forums /
Sencha Touch 2.x: Discussion /
Ext.Img not loading in device
Ext.Img not loading in device
Hi
I just testing the Ext.Img for my application, when I load image from internet, it shows both in browser and mobile device. But if I use local image, then it only shows in browser not in mobile device.
items: [
{
xtype: 'image',
height: 67,
width: 66,
src: 'http://www.sencha.com/assets/images/sencha-avatar-64x64.png'
}
]
items: [
{
xtype: 'image',
height: 67,
width: 66,
src: 'asset/icons/icon.png'
}
]
src: 'http://www.sencha.com/assets/images/sencha-avatar-64x64.png' is working fine.
src: 'asset/icons/icon.png' not loading in mobile device.
Please let me know how to fix this.
Regards
-Ram
Sencha is used by over two million developers. Join the community, wherever you’d like that community to be
or Join Us