Random-Photo-Screensaver
Random-Photo-Screensaver copied to clipboard
exclude portrait format pictures from cover mode
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.
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.
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.