My new project shall be a photo viewer. But I want this completely dynamic by simply reading a folder (selected in a tree view) and add everything inside (live on the page). Do you have any idea where to find information on this topic? What can be a simple strategy to realize this?
What you’re asking—having a web page dynamically read a folder on your computer or server and display all the images “live” just by selecting it—is beyond what Bootstrap Studio can do out of the box. Bootstrap Studio is primarily a front-end design tool, which means it’s focused on generating HTML, CSS, and JavaScript that runs in the browser. Browsers cannot directly access local folders for security reasons, so you can’t just point a page at a folder and have it auto-populate with images without some kind of server-side logic.
In practical terms, a solution like this typically requires:
Server-side code: A language like PHP, Python, Node.js, or similar to read the folder on the server and generate a list of image files.
AJAX or dynamic front-end code: JavaScript to request that list from the server and update the page dynamically.
File management/security: Making sure the server only exposes the files you want and doesn’t allow access to sensitive folders.
For someone without programming experience, this can be a steep hill—there isn’t a simple “drag and drop” solution for dynamic folder reading in Bootstrap Studio.
Using AI tools to help
AI tools like ChatGPT, Gemini, Claude, or Grok can assist you in building this system without you having to start completely from scratch:
You can describe your goal (e.g., “I want a web page that shows all images in a folder dynamically”) and ask the AI to generate server-side scripts and matching JavaScript front-end code.
These tools can explain the steps to set up a local or web server, create the folder structure, and integrate the code into a Bootstrap-based design.
You can even iterate with the AI, refining the code until it fits your design and workflow. For instance, you could ask:
“Give me a PHP script that reads a folder and returns JSON with all image URLs.”
“Now give me JavaScript code that fetches this JSON and dynamically creates an image gallery in Bootstrap.”
Using AI doesn’t eliminate the need to host the files on a server or run some basic scripting, but it removes most of the manual coding and teaches you the steps as you go.
In short: Bootstrap Studio alone won’t do this. With some guidance and AI-generated scripts, you can build a dynamic gallery in a manageable way—even if you’re not a programmer.
I have some experiences in php an Javascript. I was looking for the BS components to address. Thought there is something available. Lightbox looks very nice. I will have a closer look!!
I use Nanogallery2 on many of my websites. There are a few minor things that bug me about it, but it’s pretty much still the best gallery app out there.
Think I will need to read a lot. Maybe a faster alternative is to think about a media server solution. which runs on Mac mini. I also have a Synology and “photos” might be an alternative but I’m not very happy with the client side….its ugly
NovaGallery is very nice…. in the Demo. I checked all the comments in the doc and GitHub but did not manage to get it working. I managed to create some folders which are now (after modifying the config an .htaccess-File) visible. Some sample images are visible as well but they are not accessible. Only the file existence is visible (empty box with a question mark, no thumbnail). When I try to open the image, there is a promo with fie not found… Do you have experiences with nova gallery?
I wonder if the image files might have been corrupted while uploading (eg, unwanted binary-to-text translation). Try to download an image from the server and see if it can be viewed.