Image Gallery Generator, GUI

This script creates a web page with an image gallery automatically built from images contained in the directory path specified.

There is a version of the command line .

This online tool allows you to scan image files in a list based on website content to create a gallery file customized to your preferences.

The program works in two stages. The first interface offers options for selecting image files, and the second interface determines how to create a gallery. It is created in an HTML file on the site, in the directory and under the desired name.

Note that the appearance of the gallery is determined by itself in the style sheet. For this, the images have the class "thumb," and the CSS file is referred to as "gallery.css"
You must build this stylesheet and define a thumb handle.

File Selection Interface

Source of images
The directory where the images are located. The default is "/images/. "
Always ends with "/. "
Recursion
Recursive subdirectory path or not. By default, no, only the contents of the directory are listed.
Sinse
Number of previous days. If the images were posted online the same day, check 1 to speed up your search.
Image expansion
Comma separated list of recognized extensions (no spaces). You can add or remove extensions here.
Image only
By default, only image files defined by extensions are considered. If you have reasons to display other files, clear the check box.
Imaging
Command to start building the list.

Gallery Definition Interface

Tittle
Specify the name of the page and H1 tag.
File to create
Name of the HTML file to be created for displaying images. If empty, or "/, "the file is not created, the gallery will simply be displayed, and this will allow you to see the effect of the product.
Note that a file cannot overwrite an existing file. If you make many attempts, the hosting will be filled with many files that need to be erased
!
Columns
Number of images per line.
You must adjust the page width to fit the overall width.
Generate Gallery
Summon a generation. In any case, the gallery will be displayed even when the file is created.

Example stylesheet

The minimum gallery.css file might look like this:

body {
  width: 3000px;
}

.thumb {
  margin:2px;
  border:3px solid #ccc;
}

The width of the page defined in the body depends on the sum of the width of the images in one row.

Loading to Bioloid page.