displaying a photo from a BLOB field
Posted: Sat Apr 21, 2012 6:24 pm
Hi
I have a photo saved in a BLOB sqlite database field which I want to display in an image container on a card
I try to pull the information from the database and store it in a variable mphoto using
put theDataA["photo"] into mphoto
then I try to display the photo in an image container called photo
put mphoto into image "photo"
None of this works
Can anyone help me with some code also how can I automatically size the photo so that it fits the image container?
Thanks
Neo
I have a photo saved in a BLOB sqlite database field which I want to display in an image container on a card
I try to pull the information from the database and store it in a variable mphoto using
put theDataA["photo"] into mphoto
then I try to display the photo in an image container called photo
put mphoto into image "photo"
None of this works
Can anyone help me with some code also how can I automatically size the photo so that it fits the image container?
Thanks
Neo