Open Arkoxs opened 7 years ago
Hi Arkoxs,
I found a way to do that. I went in and edited the MMM-RandomBackground.js file, and in the section where it's got loadImage: function()..., go down to the line that says backgroundSize: 'cover', and change to backgroundSize: 'contain'. This will fit the image to the screen in one dimension and leave black boxes for the top and bottom (or presumably left/right for the landscape display people).
Confirmed, changing the backgroundSize in the MM-RandomBackground.js to contain will display the full image with black boxed on left/right. (I'm a landscape person.)
Hi @Ultimatum22,
Is it possible to add a configuration option for the resizing of the images? My display at the moment is 1920x1080 (landscape) and all images are resized to full width. Some of my pictures are portrait and therefore cut off at the top and bottom. I'd rather have two bar's on the side than losing part of the image.
Instead of manually having to resize my images an option to control this would be great.