Hi.
I saved an image in an App_table called ‘image’ and now I want to display this image in an Image component.
Since in a table there can be many images, I should filter it first (first image for example)…
How do I write the code?
I should use something like this with a filter I suppose:
self.image_1.source = app_tables.image.search()
Thank you
The table should have a column for the image and a column for searching, so you could search for the row by column name
and get the image from the column image
, something like:
self.image_1.source = app_tables.image.get(name='image_123'['image'])
Thank you… I did what you say and I have the following error:
or
stucork
February 20, 2023, 11:27pm
5
@stefano.menci meant
self.image_1.source = app_tables.image.get(name='image_123')['image']
Thanks Stu, the phone’s keyboard did it again
1 Like