Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Is there a way to test the gallery locally, without having to upload every time?

gallery Test time upload
0
Posted

Is there a way to test the gallery locally, without having to upload every time?

0

Yes. You can set the gallery to read from a static xml document rather than auto_folders.php. To do this, open mediaGallery.html, and change the following code: so.addVariable(“data_source”, “auto_folders.php”) to: so.addVariable(“data_source”, “folders.xml”) You will need to create folders.xml file that reflects the file structure you are working with. For further instructions on how to do that, see Using XML Instead of Auto section.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123