hi,
what is the best strategy to code the loading and displaying of photos from a database to a grid containing mobileimage objects?
hi,
what is the best strategy to code the loading and displaying of photos from a database to a grid containing mobileimage objects?
Hello! Could you clarify how do you store images (in DB Files or in Collection)? How do you send requests to DB and what you have in response?
the photos loading feature does not exst at the moment, The server part of the application is REST based.
Ideally I would like the photos to be stored to the database. To send a rest request and retrieve the photo for each record along with other record data.
Once retrieved, I use two methods to display one via mapping a rest service(can I load many jpgs using the mapping in a grid?) and the other by processing the json via javascript and displaying the html to the user.
What options are there in displaying a photo using the control? Or should i just create a div with a http link to the image located somewhere on the internet?
It's not a good idea to store base64encoded in collection. It's better to store images names (or full path to image). If you store images names in column with Array type you can simply map all images to Image asset property which is inside the Grid for example. You'll get as many images on screen as in array.