When browsing through the images in a directory with feh, the magnification can be changed by use of the up/down arrow keys, but the setting is lost as soon as the next image in the series is loaded. Is there a way to apply the magnification setting selected for image i to image i+1? If not, is this possible in another lightweight image viewer?
Asked
Active
Viewed 3,523 times
7
Gilles 'SO- stop being evil'
- 807,993
- 194
- 1,674
- 2,175
user001
- 3,598
- 5
- 39
- 54
1 Answers
8
In the context menu for the right mouse button in the image, there is: Options -> Keep viewport zoom & pos.
That should do just what you need.
To start feh with that option set:
$ feh --keep-zoom-vp ...
To set the option by default:
alias feh="feh --keep-zoom-vp"
Volker Siegel
- 16,983
- 5
- 52
- 79
-
Thank you. I notice that this works well for certain image formats (e.g., png, jpeg) but not for tif files. In this case, the image displays, but the viewport settings change each time a new image is loaded (along with printing to standard error of the message: "TIFFReadDirectory: Warning, Unknown field with tag 37553 (0x92b1) encountered."). – user001 Sep 09 '14 at 01:47
-
1The command-line flag for this option is `--keep-zoom-vp` – JellicleCat Dec 05 '20 at 02:32
-
You can create an alias to make it default `alias feh="feh --keep-zoom-vp"` – Isin Altinkaya Jul 14 '23 at 13:05