Could you clarify what is your problem is? You can't get images from BD or can't apply photoswipe gallery?
Could you clarify what is your problem is? You can't get images from BD or can't apply photoswipe gallery?
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
"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".
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 .
Hello! There is no documentation on server-side code for now (we will be adding it soon). There should be necessary information.
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..
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.
Hi Jackson,
Can you describe more specific what you want? What you mean by connection photoswipe with backend?
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?
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.