Notices by DulceKennedy (eldeadkennedy@shitposter.world), page 2
-
Embed this notice
DulceKennedy (eldeadkennedy@shitposter.world)'s status on Monday, 18-Nov-2024 04:53:20 JST DulceKennedy @nyanide @waifu we have thumbnails -
Embed this notice
DulceKennedy (eldeadkennedy@shitposter.world)'s status on Monday, 18-Nov-2024 04:53:20 JST DulceKennedy @nyanide @waifu no deduplication yet shit's raw and barebones -
Embed this notice
DulceKennedy (eldeadkennedy@shitposter.world)'s status on Monday, 18-Nov-2024 03:52:19 JST DulceKennedy @nyanide @waifu hop on Steam -
Embed this notice
DulceKennedy (eldeadkennedy@shitposter.world)'s status on Monday, 18-Nov-2024 03:45:11 JST DulceKennedy @waifu @nyanide wait i fucked something up here -
Embed this notice
DulceKennedy (eldeadkennedy@shitposter.world)'s status on Monday, 18-Nov-2024 03:45:11 JST DulceKennedy @waifu @nyanide ok so now with this you should get a thumbnail on the main page and then on click it opens the full image
#!/bin/bash
thumbs_dir="thumbs"
mkdir -p "$thumbs_dir"
img_tags=""
for image in assets/images/*; do
if [ -f "$image" ]; then
basename=$(basename "$image")
thumbnail_file="${thumbs_dir}/${basename}"
magick "$image" -resize 150x150^ "$thumbnail_file"
img_tags+="<a href=\"$image\" target=\"_blank\"><img src=\"$thumbnail_file\" alt=\"$basename\"></a>"
fi
done
cat template.html | sed "s#{{{GALLERY}}}#$img_tags#" > index.html -
Embed this notice
DulceKennedy (eldeadkennedy@shitposter.world)'s status on Monday, 18-Nov-2024 03:45:10 JST DulceKennedy @nyanide @waifu i did change something on the css -
Embed this notice
DulceKennedy (eldeadkennedy@shitposter.world)'s status on Monday, 18-Nov-2024 03:45:10 JST DulceKennedy @nyanide @waifu oh no i didn;t fuck anything it was just that i changed the folder and yeah it's working -
Embed this notice
DulceKennedy (eldeadkennedy@shitposter.world)'s status on Monday, 18-Nov-2024 03:45:09 JST DulceKennedy @nyanide @waifu also i need to change the thumbs_dir because i was using another structure and then i changed some things to follow your stru ah this is stupid let's go somewhere else -
Embed this notice
DulceKennedy (eldeadkennedy@shitposter.world)'s status on Monday, 18-Nov-2024 03:30:31 JST DulceKennedy @waifu @nyanide ok i added thumbnails now give me all your pleroma-tan images to test this -
Embed this notice
DulceKennedy (eldeadkennedy@shitposter.world)'s status on Monday, 18-Nov-2024 03:06:15 JST DulceKennedy @sysrq @waifu look i was expecting 30 images at max ok this is bad i wasn't expecting hundreds of images -
Embed this notice
DulceKennedy (eldeadkennedy@shitposter.world)'s status on Monday, 18-Nov-2024 03:06:14 JST DulceKennedy @sysrq @waifu well that's up to waifu -
Embed this notice
DulceKennedy (eldeadkennedy@shitposter.world)'s status on Monday, 18-Nov-2024 03:06:14 JST DulceKennedy @sysrq @waifu i mean it's gonna get rejected -
Embed this notice
DulceKennedy (eldeadkennedy@shitposter.world)'s status on Monday, 18-Nov-2024 03:03:27 JST DulceKennedy @nyanide @waifu also we should generate thumbnails. maybe -
Embed this notice
DulceKennedy (eldeadkennedy@shitposter.world)'s status on Monday, 18-Nov-2024 03:01:44 JST DulceKennedy @waifu @nyanide but wait how big will this gallery be i was expecting like 30 images at max -
Embed this notice
DulceKennedy (eldeadkennedy@shitposter.world)'s status on Monday, 18-Nov-2024 02:57:42 JST DulceKennedy @waifu @nyanide not a lot -
Embed this notice
DulceKennedy (eldeadkennedy@shitposter.world)'s status on Monday, 18-Nov-2024 02:56:43 JST DulceKennedy @waifu @nyanide do you want all the images on a single page or do you want to separate them -
Embed this notice
DulceKennedy (eldeadkennedy@shitposter.world)'s status on Monday, 18-Nov-2024 02:53:17 JST DulceKennedy @waifu disgusting -
Embed this notice
DulceKennedy (eldeadkennedy@shitposter.world)'s status on Monday, 18-Nov-2024 02:53:17 JST DulceKennedy @waifu vscodium? -
Embed this notice
DulceKennedy (eldeadkennedy@shitposter.world)'s status on Monday, 18-Nov-2024 02:52:39 JST DulceKennedy @waifu the filename is the alt text
#!/bin/bash
img_tags=""
for image in images/*; do
if [ -f "$image" ]; then
basename=$(basename "$image")
img_tags+="<img src=\"$image\" alt=\"$basename\">"
fi
done
cat template.html | sed "s#{{{GALLERY}}}#$img_tags#" > output.html -
Embed this notice
DulceKennedy (eldeadkennedy@shitposter.world)'s status on Monday, 18-Nov-2024 02:52:38 JST DulceKennedy @waifu we could use image metadata for alt text instead if you want