bpatrik / pigallery2

A fast directory-first photo gallery website, with rich UI, optimized for running on low resource servers (especially on raspberry pi)
http://bpatrik.github.io/pigallery2/
MIT License
1.8k stars 206 forks source link

Does not load the source image when open viewing. #951

Open csfedorov opened 10 hours ago

csfedorov commented 10 hours ago

Describe the bug

First off, thank you so much for your product! Very helpful and helps me out a lot!

Load full resolution image on zoom - disabled.

When opening a preview of any image, the source is not loaded, but only the generated preview is displayed. (but if enable in settings Load full resolution image on zoom, then when you zoom in, the original is loaded.)

Expected: A preview of the original image opens.

Actual: A preview of the generated image preview opens.

I tried waiting more time after generating previews and reloading the docker container, it didn't help. I also have a version built from the sources of the master branch from December 2023, there is no this problem. If this is a feature in the new version, how do you make the source image load when opened in the viewer?

image

Environment:

Used app version: edge-debian-bookworm (Last pushed 12 days ago)

mrtnbr commented 9 hours ago

I see the same behaviour. Sometimes, the original does seem to load automatically. I have unfortunately not had enough time to dig deeper. I am also on the latest edge release of pigallery2, Docker container on Debian. I use Firefox on Debian as a browser. However when using Chromium as a browser, I have the 'feeling' the originals load more often.