JP on Nostr: I'd like to make a static HTML page with a gallery of pixel art images that can be ...
I'd like to make a static HTML page with a gallery of pixel art images that can be viewed in a javascript-powered "lightbox". Tons of existing libraries for that, but none of them seem to have a couple niche features I need: aspect correction from non-square (4:2.5) pixel source resolution, nearest-neighbor upscaling small (320x200) images to fill screen / a larger area. Am I in "code your own custom lightbox" territory here, or is there a smarter path?
Published at
2024-08-31 21:06:45Event JSON
{
"id": "390ed0026141d7c8403f87ca59136817de6211358490420aa20094ca68a97567",
"pubkey": "44d3e9a67573e59b0d812d21bf8e6f56590a5731422220b7240d1211fc5e7c24",
"created_at": 1725138405,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.social/users/jplebreton/statuses/113058670574931390",
"activitypub"
]
],
"content": "I'd like to make a static HTML page with a gallery of pixel art images that can be viewed in a javascript-powered \"lightbox\". Tons of existing libraries for that, but none of them seem to have a couple niche features I need: aspect correction from non-square (4:2.5) pixel source resolution, nearest-neighbor upscaling small (320x200) images to fill screen / a larger area. Am I in \"code your own custom lightbox\" territory here, or is there a smarter path?",
"sig": "e273358e771243e2c0e7fa77aeec3afde9ff7c8317a1bfa4f2bd5f4ee4a881001a3f9d1de0fecaf72bee7f1df2dccfb90e789bf4ff37ff50032dd516b2556ca3"
}