eXeC64 / imv

Image viewer for X11/Wayland
MIT License
797 stars 57 forks source link

Gallery mode #38

Open eXeC64 opened 8 years ago

eXeC64 commented 8 years ago

We should eventually add a "gallery" mode, where users can view low-resolution thumbnails as a gallery. They should be able to toggle in and out of gallery mode at run-time.

HalosGhost commented 5 years ago

This is essentially the only thing I miss from my previous image viewer of-choice.

I would love to see functionality like this and would be happy to help.

Muzer commented 5 years ago

Would you want to use the thumbnail stored in the image for file types that allow this (e.g. JPEG) or is that out of scope for this issue?

pigmonkey commented 4 years ago

Would you want to use the thumbnail stored in the image for file types that allow this (e.g. JPEG) or is that out of scope for this issue?

I would be happy with imv simply generating thumbnails and storing them in $XDG_CACHE_HOME/imv. The lack of this feature is what keeps me using sxiv rather than imv.

somini commented 4 years ago

Would you want to use the thumbnail stored in the image for file types that allow this (e.g. JPEG) or is that out of scope for this issue?

There's already a standard for managing thumbnails, I think imv should just read this. This avoids having separate copies of the same thumbnails for every program.

This is already supported by Thunar, GNOME/KDE. To create the thumbnails themselves, there are daemons like tumbler1 for non-Desktop Environments, GNOME and KDE have their own thing.

https://specifications.freedesktop.org/thumbnail-spec/thumbnail-spec-latest.html

MrPixelized commented 3 years ago

Hey, has any progress happened here?

linkert commented 3 years ago

With this feature I could let other bloatier photo library software go completely. All I need to do is glance over photos coming in from different sources and decide what to do with them. Bind some keys to move and process photos accordingly.

Anyhow - love imv, thank you very much

timsofteng commented 3 years ago
and3rson commented 3 years ago

Is this something that is going to be added to imv? This would allow imv to fully replace sxiv (which has the thumbnails mode).

eXeC64 commented 3 years ago

I'm taking another look at this. Right now imv is only equipped to deal with a single image at a time, I think what's needed is an image loader that manages the loading of images on demand and keeping multiple images in memory at once.

The loader could have a configurable number of images to cache at once (or a memory limit). With another option for configuring a number of images to preload, #212 is also fixed. Add in the ability to generate thumbnails and maintain a cache of them too and all the prerequisites of a gallery view are done.

This isn't a promise of such a gallery mode, but I'm having a play with implementing a loader / image manager in imv.

HalosGhost commented 3 years ago

No expectations or requirements, but that sounds amazing and super exciting! 😀 Let me know if I can be helpful in your testing/dev.