Test it here: https://josvromans.github.io/imagetools/image_gallery/filter
Display images in a grid, and when parameters are correctly encoded in the filename, you can filter on the properties you defined. Sliders can scale the images, making them larger or smaller, and also add spacing between images in the grid. The background color can be set with a color picker. The randomize button will just shuffle the order of image elements on the html page.
For now, this only works well when:
After that first part that will be ignored, each feature will be determined in pairs of key & value. There can be as many pairs as you like, but it has only been tested for 5 features. When it is a lot more, the html layout probably needs some fixes.
example file name that will be handled correctly: 20231101_2112_23566__Palette__Black__Margin__8__Background__white.jpeg 3 features will be determined (Palette, Margin and Background). And when you have a lot of images with those same features, you can filter them.
If you want to use another separator than ‘’, you can add ‘&separator=__custom’ to the url
Note:
This has yet to be tested and improved, and will get a better README eventualyl. For now just these notes.