Pratik Sah
Posts: 0
Joined: Wed Jun 19, 2013 5:26 am

Image gallery dynamically connected to database for updating images automatically .

How to display image gallery connected to database ? the image gallery which can add images dynamically from database .
If the number of images in database is increased then automatically photo gallery should reflect that .

I was able to write a php code ..but not getting table name , coulmn name , database usr pwd ... Please help

Here is the code i wrote
+++++++++++++++++++++++++
0) {
while($row = mysql_fetch_array($result)) { ?
Image width="100"
<?php }
}
++++++++++

Pratik Sah
Posts: 0
Joined: Wed Jun 19, 2013 5:26 am

Image gallery dynamically connected to database for updating images automatically .

my php code, the code is not pasted properly above ..here is the final code

//0) {
//while($row = mysql_fetch_array($result)) { ?
//Image width="100"
//<?php }
//}

Pratik Sah
Posts: 0
Joined: Wed Jun 19, 2013 5:26 am

Image gallery dynamically connected to database for updating images automatically .

0) {
while($row = mysql_fetch_array($result)) { ?
Image width="100"
<?php }
}

Pratik Sah
Posts: 0
Joined: Wed Jun 19, 2013 5:26 am

Image gallery dynamically connected to database for updating images automatically .

/0) {
while($row = mysql_fetch_array($result)) { ?
Image width="100"
<?php }
}/

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Image gallery dynamically connected to database for updating images automatically .

Hello! It's not easy to do that with code you've posted. It would be easier to do that via rest api. You would need to set it on your server. In this case most likely you just need to return images path in json, not img tags.

Pratik Sah
Posts: 0
Joined: Wed Jun 19, 2013 5:26 am

Image gallery dynamically connected to database for updating images automatically .

Thank u Marina ,

Can u please elaborate the solution ?
a step by step procedure would be helpful.

how to set rest api in my server and how to return images path in json ?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Image gallery dynamically connected to database for updating images automatically .

Sorry, but it's outside the scope of our support. You would need to search online how to set rest api on your server.

Return to “Issues”