Display images in controllist ctrl as thumbnails
#1
Sad 
hello,

how can i get image files from local folder and load them as items in controllist and display them as thumbnails? similar to

thanx

/// rowfilter
Reply
#2
no way that i know of to switch view modes. that feature would be pretty sweet though.
Reply
#3
something like:
Quote:item = xbmcgui.listitem("titel" ,"more", "bla.png")
self.list.additem(item)
thumbnail will show up on the left side of the list.
Reply
#4
i do already have:

Quote:items = ["item 1", "item 2", "item 3"]
for item in items:
   self.list.additem(item)

but how do i get items that are actually files in the local directory? like my pictures in xbmc.

and the same with the thumbnails, i am not talking about the small thumbnail left to the item, except the view of the item itself, just like changing the "view" in the my pictures.

thanks.
Reply
#5
i heard from jmarshall that the thumbpanel is not yet exposed to python.

depending on how masochistic you are you can attempt to duplicate the behavior with a grid of images in front of buttons with custom textures.

i do something similar in the xstocks script.
Reply
#6
made a few tests and it seems the icons or thumbnails are displayed "inline"..
so you'd get on each line something like

icon/thumb - label1 - label2

haven't tested too much the difference between thumb and icon but i guess the thumb will be used for the thumb view to come..
Reply

Logout Mark Read Team Forum Stats Members Help
Display images in controllist ctrl as thumbnails0