Quantcast
Channel: Appcelerator Developer Center Q&A Tag Feed (dashboarditem)
Viewing all articles
Browse latest Browse all 15

Remote image in DashboardItem

$
0
0

Hello guys,

I have a problem which taking me down.

I am trying to set the image of a DashboardItem as a remote URL. The images loads if I put it in my resources folder and link it from there, but it doesn't load from the remote url. Here is the code I use to do that:

var all = [];
 
var item = Titanium.UI.createDashboardItem({
image: 'http://dl.dropbox.com/u/10151187/test/KS_nav_ui.png', // this doesn't work
//image: 'KS_nav_ui.png' // this does work
canDelete: false
});
 
all.push(item);
 
var dashboardAll = Titanium.UI.createDashboardView({
columns: 4,
rows: 5,
data: all,
editable: false,
top: 30,
bottom: -20,
height: 400,
visible: false
});
I would appreciate your help a lot!

-- Stefan


Viewing all articles
Browse latest Browse all 15

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>