Page 1 of 1

Image Loading

Posted: Fri Aug 02, 2013 9:44 am
by Muthu

Hi , am using camera service in my app and using service i had saved the images that are captured into to my database , what i want now is ,i just want to display all the saved images in my home screen using grid and while clicking that image it should be shown in a image preview..i had tried your tutorials but i didn't find solution,so how can i do this ?


Image Loading

Posted: Fri Aug 02, 2013 11:26 am
by Maryna Brodina

Hello! There is no way to get file list from DB. You would need to save list of uploaded files to DB collection. After you upload image to DB in success function returns "data" object which contains name of uploaded to DB file. In this function you can call service to add file name to DB collection. On screen where you need to show all uploaded images retreive file names from DB and show on screen using any image gallery plugin. For example Photoswipe http://docs.appery.io/tutorials/addin...