Bug 419184

Summary: Feature request: Be able to fail-back to low size/quality of previews when remote collection are disconnected
Product: [Applications] digikam Reporter: Robert <robert>
Component: Preview-EngineAssignee: Digikam Developers <digikam-bugs-null>
Status: REPORTED ---    
Severity: wishlist CC: caulier.gilles, metzpinguin, robert
Priority: NOR    
Version: 6.4.0   
Target Milestone: ---   
Platform: macOS (DMG)   
OS: macOS   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Robert 2020-03-24 15:05:09 UTC
Coming from Aperture, I used my library in the following way: Originals of pictures are stored on my webserver and shared via smb. When importing them to the local library on my laptop, I then chose a relatively good quality for the so-called preview pictures.

Traveling a lot, this allowed my to still "carry" my whole image library at a reasonable disk size. When opening, Aperture uses the local stored previews if the smb share is not available, but still supporting full screen mode and slide shows.

In short, the features I am looking for:

1. create locally stored, lower quality preview pictures alongside thumbnails
2. being able to choose the quality or desired dimensions of those preview pictures
3. option to maximise, for slideshows of etc. locally stored preview pictures


Reproducible: Always

Steps to Reproduce:
disconnect samba share, left-click on thumbnail image

Actual Results 
warning that the storage location of this image is currently not available

Expected Results
open a file-sized reduced version of the original picture
Comment 1 caulier.gilles 2020-03-24 17:05:49 UTC
Maik,

I'm not sure if we need special settings to handle preview quality with Slideshow. All is already in place in digiKam preview setup, excepted the fact that we don't take a care about collection place (local/remote/removable).

Slideshow use already the Preview settings from DK to handle image quality to load. 

What do you think about ?

Gilles
Comment 2 Maik Qualmann 2020-03-24 18:46:09 UTC
The user wants a preview image of a network collection that is not available. We would therefore always have to keep all images locally in a very poor, adjustable quality. I don't like it. I also don't find it good to fill the database with it.
We can now have 3 different sizes as thumbnails in the DB, 256px standard, 512px with active HiDPI option or even 1024px if a native HiDPI screen resolution is available.
We could scale up these 3 sizes as a preview image. Better than no image...

Maik
Comment 3 Robert 2020-03-26 12:49:06 UTC
Maybe it was not clear what I meant, since I understand now that digiKam uses a different terminology for thumbnails and previews as I am used to.

To rephrase what I wish for: If the (samba) share is disconnected, it would be nice to have, as Maik pointed out, a higher resolution (so 1024px for example) thumbnail as a a "fallback" for the actual, original image that can be viewed, maximised or used in the slideshow.
Comment 4 caulier.gilles 2020-03-26 13:00:16 UTC
Thanks Robert. It's more clear now...

Gilles Caulier
Comment 5 caulier.gilles 2020-12-18 12:10:47 UTC
https://bugs.kde.org/show_bug.cgi?id=426938

--- Comment #4 from caulier.gilles@gmail.com ---
Hi,

digiKam 7.2.0-beta2 pre-release PKG installer now support BigSur and is
compiled with last stable Qt 5.15.2.

https://files.kde.org/digikam/

Problem still reproducible with this version.

Thanks and happy Christmas in advance

Best Regards

Gilles Caulier
Comment 6 caulier.gilles 2024-09-17 16:10:17 UTC
Maik,

For the thumbnails in icon view it's easy to do as the database cache do already the job.

For the preview, well using the thumbnails is enough, if data a are present in the database.

Gilles
Comment 7 Maik Qualmann 2024-09-17 16:38:52 UTC
Yes, it is not a problem to load an image via UUID from the thumbnail DB, since we do not have any location information. But what happens when users then start face detection and other things?

Maik
Comment 8 caulier.gilles 2024-09-17 19:44:19 UTC
Well in this case it's a special case where some operations are not permits. Face management is an example and must be fully acceptable by end users.

Gilles