💾 Archived View for bbs.geminispace.org › u › Addison › 12294 captured on 2024-08-31 at 15:10:12. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2024-08-18)
-=-=-=-=-=-=-
Re: "Image links don't open correctly"
This happens because the inline images are displayed using base64-encoded data URLs. Clicking on them tries to open the data itself (the contents of the image) as a new page.
🐝 Addison [OP/mod, 🗣️ developer]
2023-12-04 · 9 months ago
🐝 Addison [OP/mod] · 2024-01-06 at 22:01:
Correction: this *actually* happens because fetching images inline caches them in the same place that page contents are cached.
When opening the image link, the app doesn't examine the URL's extension before attempting to the URL's a cached data. It assumes that whatever is cached for a given URL is a gemtext page, so it tries to load the image as a gemtext page.
With inline images enabled, clicking an image in order to open it results in the image being incorrectly shown as garbage text. Here is an image to test with:
💬 Addison [mod] · 3 comments · 2023-12-04 · 9 months ago · #bug ✔︎