Random-Photo-Screensaver icon indicating copy to clipboard operation
Random-Photo-Screensaver copied to clipboard

exclude portrait format pictures from cover mode

Open sebbl5 opened this issue 5 years ago • 2 comments

Hi, when choosing fit images to "cover" I would like to have the option to do this only for landscape images. portrait images should be shown in contain mode.

Additionally it would be great to have a hotkey which triggers between cover and contain within the slideshow.

Could you give a hint where in the sourcecode this has to be changed. It was difficult for me to find.

sebbl5 avatar Apr 01 '19 22:04 sebbl5

Hi,

The final displaying is done in monitor.html. You might be able to customise /data/monitor.html look for the function showImage(source, displayPath, settings) in /data/js/monitor.js.

Marijn.

marijnkampf avatar Apr 05 '19 18:04 marijnkampf

PS. if you want to make changes to monitor.js add a file _monitor.js as this will be included automatically and not overwritten when you install the next update of RPS.

marijnkampf avatar Apr 05 '19 18:04 marijnkampf