Page 2 of 3

Connect Appery.io backend with Photoswipe gallery

Posted: Wed Jun 19, 2013 10:28 am
by Maryna Brodina

Could you clarify what is your problem is? You can't get images from BD or can't apply photoswipe gallery?


Connect Appery.io backend with Photoswipe gallery

Posted: Wed Jun 19, 2013 10:57 am
by Pratik Sah

Yes ,
I want to get the images from backend database to be displayed in my photoswipe gallery.
I m able apply photoswipe gallery as shown in your tutorials , but i need to display my images(which are saved in my appery.io backend database) to be shown in the photoswipe gallery .

In your photoswipe gallery tutorial we are giving individual image links under the HTML tag and hence those images are displayed in the photswipe gallery . but in my case i want my photoswipe gallery to be connected to appery.io backend database , so that whatever images are saved in the database should be displayed in the photoswipe gallery .
Even when the number images in database increase, photoswipe gallery should automatically show that new image in it .

Thanks


Connect Appery.io backend with Photoswipe gallery

Posted: Wed Jun 19, 2013 11:57 am
by Maryna Brodina

"photoswipe gallery should automatically show that new image in it" - it's not possible at this moment, but we will be adding Server Code feature shortly, so you will be able to write any custom code and achive this. For now you can just get all images and make "individual image links under the HTML tag and hence those images are displayed in the photswipe gallery".


Connect Appery.io backend with Photoswipe gallery

Posted: Fri Jun 28, 2013 11:53 am
by Pratik Sah

Hi Marina ,

As server code is included in appery.io ..a great news .

I would like to know the procedure to create database driven image gallery using server side code.
is it possible now ?

and i also want to create user login account with validations. these username and password is account information should be saved in our backend database service.
As soon as user log in to his account using valid username and password ..he can view his home screen ..

Please help me with this !

Thanks .


Connect Appery.io backend with Photoswipe gallery

Posted: Mon Jul 01, 2013 6:15 am
by Maryna Brodina

Hello! There is no documentation on server-side code for now (we will be adding it soon). There should be necessary information.


Connect Appery.io backend with Photoswipe gallery

Posted: Mon Jul 01, 2013 6:22 am
by Pratik Sah

Thank You Marina ,

So is there a way out as of now ... I am trying to connect my photo database with my gallery ..i want to display all the picture which are uploaded on database to the photo gallery..


Connect Appery.io backend with Photoswipe gallery

Posted: Sun Sep 08, 2013 1:10 pm
by JACKSON LIANG

Hi Pratik im am trying to look for the same solution as you. With no success. Appery team please teach us how to connect photoswipe with backend DB.


Connect Appery.io backend with Photoswipe gallery

Posted: Mon Sep 09, 2013 3:18 pm
by Anton Artyukh5836028

Hi Jackson,

Can you describe more specific what you want? What you mean by connection photoswipe with backend?


Connect Appery.io backend with Photoswipe gallery

Posted: Tue Sep 10, 2013 11:03 am
by JACKSON LIANG

The photoswipe tutorial only teaches us to display images that are already currently in the DB. If I upload a new image the gallery does not display that new image cause you need to change the HTML tag again with the correct image source. Is there anyway to teach us to NOT change the HTML tags but automatically connect photoswipe with the Backend DB so that i dont have to keep adding html image tags. Otherwise, how else would the user able to upload a new image and display that new image on the gallery?


Connect Appery.io backend with Photoswipe gallery

Posted: Tue Sep 10, 2013 2:24 pm
by Kateryna Grynko

Hi Jackson,

Photoswipe library requires images to be available for direct link. This is impossible with Appery.io database as you have to do a POST request to API to get one image.