aidensala
May 23, 2019 - 07:38
is it possible to import a local image stored in the folder of my python and pyui scripts into the image view? i saw this was asked a couple years back but minimal info was given..
is it possible to import a local image stored in the folder of my python and pyui scripts into the image view? i saw this was asked a couple years back but minimal info was given..
@aidensala try
import ui
iv = ui.ImageView()
iv.image = ui.Image.named('My image.jpg')
iv.present('sheet')
@aidensala named instead of name
@aidensala Is it ok now? For info, name is an attribute giving the name of the object
@cvp yep, thanks. i really appreciate the effort you put into helping this community.