💾 Archived View for bbs.geminispace.org › u › stack › 20655 captured on 2024-12-17 at 15:26:37. Gemini links have been rewritten to link to archived content

View Raw

More Information

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

Comment by 🚀 stack

Re: "Images"

In: s/Lagrange

About those inlined URL images... How do you encode them?

🚀 stack [OP]

Oct 10 · 2 months ago

4 Later Comments ↓

🚲 halscode · Oct 10 at 17:40:

@stack Base64 data URIs. They're formatted like:

data:mime/type;base64,theFileEncodedAsBase64==

🚀 stack [OP] · Oct 11 at 01:39:

As gata urls go, could you clarify:

Am I correct? Are there any other options?

🕹️ skyjake [mod...] · Oct 11 at 04:08:

Yes, those are all correct. There is no difference between linking to an image file via a regular Gemini URL and linking to an image using a data URI. When the link is opened in the latter case, the data is just decoded from the URI itself instead of loading from a file.

There is no other way to display images in Lagrange, so no there aren't any options to control the appearance further.

🦂 zzo38 · Oct 12 at 21:30:

Note that not everyone will use Lagrange (I do not use Lagrange), nor will necessarily use one that can display pictures directly (some might require an external program). Some programs might display pictures in a different way, e.g. using a different logic to decide their size.

Original Post

🌒 s/Lagrange

Images — I'm thinking of a puzzle game with images. What is the logic Lagrange uses to size images? Is there a way to native-size images? I assume there is no way to display multiple images side-by-side? I remember there was a setting to autoload and inline images. Is it gone? It would be really annoying to have to click on the image link every move... Thanks

💬 stack · 7 comments · Oct 09 · 2 months ago