-
Schimon_
Gallery handling - Sending and receiving multiple images (and even audio/videos) https://github.com/iNPUTmice/Conversations/issues/4420 _What *do you* think?_
-
miguel
pack a bunch of files within a single file to send it? What if the the receiver wants to download just one of the files? nope, don't think a zip file would be the answer.
-
Schimon_
> pack a bunch of files within a single file to send it? What if the the receiver wants to download just one of the files? Then the messenger will have a ZIP viewer built-in so user will decide which to download.
-
zak
A messenger should handle messages and not have other tools on board that just enhance size and complexity. If you want to send multiple files in an archive, just zip those with another app and send this file. Problem solved without additional code overhead.
-
Schimon_
zak, of course, this is the main purpose.
-
Schimon_
Assuming CBZ gets popular, the ZIP handling (listing of files) will take place afterwards. I'm not for fancy features, I'm looking for a sensible ways to satisfy the desire for a special multiple image layout which some expect to be delivered to XMPP.
-
zak
You already can send multiple files without zipping, the only problem that solves would be a smaller filesize and with jpeg already compressed this would be insignificant. Why not invest the time instead in useful features?
-
Menel
Have the app just display multible images in a grouped way, the way WhatsApp /signal does, if they are send within a time period... The same conversations does with messages..
-
Menel
The pro: no support from other clients needed
-
Menel
Otherwise XEP-0367: Message Attaching could be used
-
Schimon_
I want to receive a gallery in a CBZ file and open it with an external document viewer, instead of clicking one click per image. So it is with Dino, Gajim and Kaidan.
-
Schimon_
zak, please see https://addons.mozilla.org/firefox/addon/zip-manager/ Open local and remote ZIP archives to extract all files or a single one
-
zak
Schimon_: So you want every client developer to integrate such a third-party addon? Otherwise some recipients might have more problems than before when receiving such a file.
-
Schimon_
No, I don't. The ZIP support will be added in the worst case.
-
zak
And if not? How is it handled?
-
Schimon_
Just download the file and let your system handle it (so do Dino, Gajim and Kaidan)
-
zak
I don't have a viewer for these files on my system. So do many others of my contacts.
-
Schimon_
I want each program to do one task and do it well. I don't want fancy addons. I don't. Yet, if people would insist on a special layour for multiple images, then CBZ is a good compromise.
-
zak
I can give your argument back: Just zip your files with a tool on your system and send the file.
-
Schimon_
zak, it's a ZIP file renamed to CBZ. Evince, Okular and many other programs and mobile app support it.
-
Schimon_
> I can give your argument back: Just zip your files with a tool on your system and send the file. Yes, but not all, including myself, want to bother doing so. I better select multiple images and the messenger will ZIP it for me.
-
zak
> I want each program to do one task and do it well. > I don't want fancy addons. I don't. Still you request it.
-
Schimon_
Indeed
-
Schimon_
As a compromise instead of a fancy layout which might be nice BUT: It will make users of Client X to flood chats with images while other clients don't have a way to habdle it.
-
Schimon_
Do you see the issue here?
-
Schimon_
As I noted above I want each program to do one task and do it well.
-
Schimon_
handle*
-
zak
A way to handle multiple files in a good UI is a different matter, that could be done. But as I said, I would greatly prefer more useful features. This is in the category 'nice to have but not important' for me.
-
Schimon_
Of course, I think that I think like you. As I stated, this is a compromise to avoid flooding chats which might be resulted by a special layout.
-
Schimon_
> Otherwise XEP-0367: Message Attaching could be used I'm not sure. Is there a visual realization of this XEP? https://xmpp.org/extensions/xep-0367.html
-
Schimon_
Menel
-
wurstsalat
Schimon_: maybe you should do it the other way round: develop a plugin for your favorite chat client, which lets you save a gallery of images in zip ;)
-
Schimon_
wurstsalat, and zipping multiple selection of images.
-
Schimon_
I might, wurstsalat, starting with Gajim
-
wurstsalat
First you'd have to implement sending/receiving a gallery of images, I fear :)
-
Menel
Schimon_: >> Otherwise XEP-0367: Message Attaching could be used > I'm not sure. Is there a visual realization of this XEP? > https://xmpp.org/extensions/xep-0367.html > > Menel That's up to the client.. I don't know any using it
-
Schimon_
> First you'd have to implement sending/receiving a gallery of images, I fear :) How so? All I want is the selected images to be archived into a ZIP file as CBZ and that's it. If a client wants to display a CBZ as a gallery, then it is something else.
-
wurstsalat
I'm just saying that there are no image galleries in Gajim yet ;)
-
Schimon_
I don't want visual galleries.
-
Schimon_
Where did I say that I desire image galleries for Dino, Gajim or Kaidan or any other XMPP messenger?
-
Schimon_
The bottom line is: Developer who insist in having image galleries in their clients are better use CBZ and parse it, other clients like Dino, Gajim and Kaidan have their host system to habdle it using a document viewer.✎ -
Schimon_
The bottom line is: Developer who insist in having image galleries in their clients are better use CBZ and parse it, other clients like Dino, Gajim and Kaidan have their host system to handle it using a document viewer. ✏
-
Schimon_
The bottom line is: Developer who insist in having image galleries in their clients are better use CBZ and parse it, other clients like Dino, Gajim and Kaidan have their host system to handle CBZ, using a document viewer or an archive manager. ✏
-
Menel
I prefer grouping in the client UI and just continue sending single http uploads. That's compatible with clients that don't participate and every client, desktops too, can implement something like that.
-
Schimon_
Ok. Actually, I shouldn't really be worried as I petition for practice and implementing something new will not prevent me to apply practice.
-
contrapunctus
I like Menel 's idea. It's also consistent with message grouping behaviour.