thumbsup icon indicating copy to clipboard operation
thumbsup copied to clipboard

Feature request: Ability to zoom in to original resolution in the web UI

Open Myaamori opened this issue 4 years ago • 1 comments

Currently thumbsup will restrict the size of an image to the size of the browser viewport, and the only way to view an image at the original resolution if it's larger than the viewport is to download the image. It would be nice if it was possible to click or double click on an open image to zoom in to the original resolution, with the ability to pan by dragging.

Myaamori avatar Aug 29 '20 00:08 Myaamori

Hi, the default themes now have the LightGallery zoom and fullscreen buttons enabled: image

The zoom button let you zoom in and pan with the mouse. This will be in the next release, but in the meantime you can clone any of the themes (e.g. https://github.com/thumbsup/theme-classic) and call --theme-path /theme/location.

Note that the Lightbox is still rendering the "large" size photo, as specified by --large-size (default 1000 but can be increased). If you really want to view the original resolution you have 2 options:

  • use --photo-download copy and use the download button
  • use --photo-preview copy and use the new zoom button. However the gallery could be significantly slower to browse.

rprieto avatar Mar 05 '21 23:03 rprieto