Page 1 of 1

Image gallery dynamically connected to database for updating images automatically .

Posted: Wed Jun 19, 2013 5:26 am
by Pratik Sah

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 }
}
++++++++++


Image gallery dynamically connected to database for updating images automatically .

Posted: Wed Jun 19, 2013 5:30 am
by Pratik Sah

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 }
//}


Image gallery dynamically connected to database for updating images automatically .

Posted: Wed Jun 19, 2013 5:33 am
by Pratik Sah

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


Image gallery dynamically connected to database for updating images automatically .

Posted: Wed Jun 19, 2013 5:36 am
by Pratik Sah

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


Image gallery dynamically connected to database for updating images automatically .

Posted: Wed Jun 19, 2013 8:20 am
by Maryna Brodina

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.


Image gallery dynamically connected to database for updating images automatically .

Posted: Wed Jun 19, 2013 8:55 am
by Pratik Sah

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 ?


Image gallery dynamically connected to database for updating images automatically .

Posted: Wed Jun 19, 2013 9:23 am
by Maryna Brodina

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