💾 Archived View for tilde.team › ~smokey › logs › re-data-urls.gmi captured on 2023-09-28 at 18:27:48. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-07-16)
-=-=-=-=-=-=-
I was not aware of data urls until skyjake wrote about them the other day. I find it quite interesting and possibly useful given specific circumstances around my capsule projects.
In the very beginnings of my capsule I had no idea that image hosting was a possbility on my pubnix. some early entries contain ASCII art for visual reference. It did its purpose but was obviously very limiting visually and meticulous to create.
It wasnt until a few months in that I was able to get photos working on my capsule proper. You see, even after learning about sftp enough to upload files to the server and put images into the directory, I STILL got errors whenever trying to access them. It wasnt until I spotted a topic on SDFs bboard discussing this wierd error that I got the idea to test file size limits. As it turns out SDF has a 27kb image size limit for basic users, and this was never mentioned ANYWHERE. Another user later confirmed that the meta-array (premium) users have no such limits.
This means that whenever I want to upload an image, I have to go through the ritual of downloading/creating it, going into GIMP to resize/ downgrade the quality through trial and error until I hit that goal of 26kb or less, then uploading it to the server with sftp and applying proper file permissions with SDFs custom mkgopher command. Multiply this sequence of actions for every photo I want to upload, and things start to get slightly tedious.
So when I came across skyjakes article on data urls and how they can be used to represent images, my mind started mulling over some ideas and possibilities.
The fractal compendium has been a passion project of mine since the capsules inception. It is a hand crafted database of fractal topics. Because of the, and due to the visual geometric nature of fractals pictures and illustrations prove invaluable to learning about them.
A big challenge has been getting images onto the capsule associated with the compendium.
T