Messages by d123

One topic, 2 messages
Kuix technical support » Load external Images

what is the type for lMedias in your DataProvider?

 

Kuix general board » Image From Url

Hallo,,

 

How to load image from internet? I got the url and store it on DataProvider,

 

here is my xml, the @{img} is the image url

<screen shortcuts="back=askQuit|left=askQuit" focusloop="false">

<scrollPane>

<list id="category">

<_renderer>

<![CDATA[

<listItem style="bg-color:${bg-color};layout:borderlayout;gap:5 0;" onAction="nextCategory(${id})">

<picture style="layout-data:bld(west)" src="${img}"></picture>

<picture style="layout-data:bld(west)"><_image>@{img}</_image></picture>   

<container style="layout:inlinelayout(false,fill);">

<text>${name}</text>

<textarea class="small">${description}</textarea>

</container>

</listItem>

]]>

</_renderer>

<_items>@{data}</_items>

</list>

</scrollPane>

<screenfirstmenu>

%MENU%

<menupopup>

<menuItem onaction="viewcart">%VIEW_CART%</menuItem>

<menuItem onaction="goToRoot">%HOME%</menuItem>

<menuItem onaction="refreshCatalog">%REFRESH%</menuItem>

<menuItem onaction="aboutme">%ABOUT%</menuItem>

</menupopup>

</screenfirstmenu>

<screenSecondMenu onAction="backCategory">${backLabel}</screenSecondMenu>

</screen>



thanks