Elektrine lite

← Feed

@jsstaedtler@mastodon.art

Post #1584737

2026-04-23 15:38 UTC

My site uses PHP to produce HTML output—no flat HTML files. There is an image gallery, and the images have tags. It's here if you actually want to see it: https://bigraccoon.ca/gallery When you filter on a tag, it adds a parameter to the URL, e.g. "domain[dot]com?tag=2026". That loads the gallery, but only displays images tagged with "2026". You can filter further on more tags, e.g. "?tag=2026%2CPencil" ("%2C" is a URL-encoded comma), which would show images from 2026 drawn in pencil. 🧵2/?

Replies (2)

  • @jsstaedtler@mastodon.art 2026-04-23 15:45

    This method of selecting tags allows for invalid combos, like "?tag=2026%2C2025". That selects images that were drawn both in 2026 *and* 2025... which obviously can't exist! The resulting page will tell you that 0 images were found. A human would generally make sense of the available options, and *not* select two different years simultaneously. I could even code the page so that if one year is already selected, you can't select another one. 🧵3/?

    Open ##1584736

  • @jsstaedtler@mastodon.art oooh i like your art :neocat_heart:

    Open ##2676159