How to access images from a server during an experience


#1

Hi guys,
I want to create a project in which a user will require to access images stored in an external DB.
Can we use Z.Ajax() to get image files from a JSON object.
Any guidelines would be very helpful.

Thanks in advance.

Prodipta


#2

I haven’t tried it yet. But it’s on my list to do. To get images or videos you need fully qualified address what would be the full website including the file name of the video or image. Now you could have a database with that info in it and use json to pull it. But dont think we can pull the image its self out of the database.

Steve


#3

Yes you can. You need to set up an external server with endpoints to access your database. You could use pouchdb and heroku for example.


#4

I found using https://restdb.io/ was easier.

Steve