Hi Joe,
Here is a tutorial for you on how to create PhotoSwipe album from REST service:
1) Follow the steps 1-5 from 'Creating UI' section: http://docs.appery.io/tutorials/addin...
2) Create a service that returns an array of references to image.
3) On a page, add Grid component containing Image component (we'll hide it later).
4) Create a mapping from service to the Grid as it's shown here: http://docs.appery.io/documentation/u...
5) Add the following JS code to image mapping:
codeAppery("html_2").append(
'<ul class="gallery">' +
'<li>'+
'<a href="' + value + '">' +
'<img alt="Image 001" src="' + value + '" />' +
'</a>' +
'</li>' +
'</ul>'
);/codewhere html_2 is a html component name.
6) On service Complete event run the following code:
code$("[name=mobilegrid_5]").hide();
var photoSwipeInstance = Appery("startScreen").find("ul.gallery a").photoSwipe({}, "startScreen");/codewhere mobilegrid_5 is a Grid name,
startScreen is a page name.