💾 Archived View for talon.computer › log › static captured on 2023-11-14 at 07:40:45. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-09-08)

-=-=-=-=-=-=-

static

2023-08-17

I read more of the kiln manual and learned how to wire up static content into the build so now I can share photos of Pixel here!

/pictures/pixel/01.jpg

I pulled this from my cloud files and then used mogrify(1) to compress and resize it like this:

mogrify -quality 50 -resize 20% public/pictures/pixel/01.jpg

which reduced the file size from 3.4M to 104K :)

The other small change I had to do was tell gmi-web I wanted to use <img> tags for .jpg/.png/.gif files.

gmi-web repository

A little note about backend plumbing, I put the public folder in .gitignore so I'm not saving that data in git. And after I've published I can delete the local public folder to save space and time on the next publish. The previously published files simply stay chillin' in the /srv folder of the RPI4.

↰ all posts

/pictures/dividers/pixel-flowers.gif

talon.computer

CC BY-NC 4.0