👽 swan

Does anyone know how I can make the "Load images on scroll" feature work on Lagrange? I've been usig it for a while and I've never been able to make this work. I still need to click on image links to show the image itself.

2 years ago

Actions

👋 Join Station

8 Replies

👽 swan

@skyjake thank you for the insight, I think I can get it now somehow · 2 years ago

👽 skyjake

The key difference is that this feature does not literally load images while you're scrolling. Instead, when the user triggers a scroll action, it *instead* loads the next image link if one is on the page, without scrolling.

In other words, the action that a key triggers changes depending on the context. IMO this enables the feature to still be in line with the Gemini principles.

With mouse scrolling, this kind of a solution would not be possible, since it's one continous gesture. · 2 years ago

👽 swan

(t would be arguably against the intended design of Gemini. There would be little difference to just loading them all automatically.

@skyjake how does scrolling wtth a mouse differ from scrolling using the keyboard? I feel like I'm missing something maybe? · 2 years ago

👽 skyjake

@acidus Not a great fan of that idea. It would be too easy for a misbehaving server to just put some URIs that have a .jpg or .png extension but don't actually point to images. The server would be able to make the client do whatever tracking/redirect requests it wants. · 2 years ago

👽 skyjake

@swan Not possible currently. Two issues with that:

1) It would be arguably against the intended design of Gemini. There would be little difference to just loading them all automatically.

2) The software isn't ready for that. It would require loading images in a background thread so the UI wouldn't stutter. · 2 years ago

👽 acidus

crazy idea @skyjake. why not have an “auto load images from same domain” option. a big reason for gemtext’s “one request per page” as discussed in @solderpunks gopher posts on forming the idea of Gemini is around privacy. automatically making cross domain requests is the basis of tracking and programmatic ads. but loading from the same domain doesn’t have these concerns. the capsule owner gains no extra info they didn’t already have (namely that IP address of the visitor). as an opt-in option it could be a better way than data URIs to still be privacy focused and avoid the bloat of Data URI images. thoughts? · 2 years ago

👽 swan

@skyjake Oh... Is there a way to make it load with mouse scroll too? · 2 years ago

👽 skyjake

That feature is tied specifically to the keyboard scroll actions that scroll down a half/full page. So by default it works with the Space and PageDown/Up keys. · 2 years ago