viewing an image
#1
I created a plugin that will grab some image URLs, but I have no clue how to view the image in full screen. I cannot find any tutorials on this.
Reply
#2
Ok, after searching for 2 days I finally found something that works, but it's a little slow on going back to the menu.

Code:
def image_viewer(img):
    w = xbmcgui.Window()
    w.addControl(xbmcgui.ControlImage(0,0,w.getWidth(), w.getHeight(), img, 2))
    w.doModal()
    del w

Found on http://www.pythondiary.com/blog/Dec.11,2...ython.html
Reply
#3
It is my code
PHP Code:
xbmc.executebuiltin('ShowPicture('+url+')'
Reply
#4
Thank you, that worked perfectly!
Reply

Logout Mark Read Team Forum Stats Members Help
viewing an image0