Conversation
Notices
-
@hannes2peer it also worked/works btwn certain other instances, e.g. loadaverage previews were visible on @atarifrosch's old instance, iirc
-
i don't remember: has there been discussions about making gnusocial automatically create attachments/thumbnails from any links to images?
-
that would at the same time make attachments federate.
-
@hannes2peer thumbnails for remote image attachments (AND #youtube previews, worked in SN but currently broken) would be #great #GNUsocialUI
-
@hannes2peer imho <no expert> thumbnails in remote posts could work without federating the actual thumbnail files.
-
@hannes2peer [I'm talking abt ClassicUI] Remote thumbnails were working before btwn certain instances. E.g. quit.im previews in Quitter.se
-
@hannes2peer …or the other way round. I don't recall exactly.
-
On my old SN instance I could see attachements and YT video previews, yes. Would be great if this worked here on GS, too.
-
@hannes2peer I think @yvolk aka @andstatus had an idea why previews of remote image attachments sometimes don't work in the GNUsocial web ui
-
@hannes2peer making the local instance create & store thumbnails locally might be a bulletproof way—unless disk space gets tight
-
@mcscx @hannes2peer Please don't make the !gs WebUI pull in third-party images or attachments. A secure browser won't display those items at all. Distributing a thumbnail with the message, then storing and serving it locally shouldn't be that onerous, ensures a (secure) single source for the entire page, and relieves the origin server of serving every hit from federated sites. And there's always the download link for anyone who wants to see the original image at full resolution. (I wasn't following the whole thread, so, this could be a complete non-sequitur)
-
Instead of storing and serving a separate thumbnail file, the image could be stored in the text of the message itself using the "data:" URI scheme. That would make it backwards compatible with old instances that don't know about federated thumbnails http://en.Wikipedia.org/wiki/Data_URI_scheme
-
I remember we investigated the issue: Attachments (as a separate metadata with links to images... inside a message) were lost when messages were sent between _certain_ (but not all) GNU Social instances.
See this conversation: https://loadaverage.org/notice/4373193
@bobjonkman@sn.jonkman.ca @hannes2peer@quitter.se @atarifrosch@social.stopwatchingus-heidelberg.de @mcscx@quitter.se
-
@andstatus thanks :-)