mirror of
https://github.com/jamf/Setup-Manager.git
synced 2026-02-03 06:03:23 +00:00
Background Images in JSM are not set to 'fit screen' resulting in cropping on all sides. #60
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Uggbert on GitHub.
As per the title
I have tried with the following image sizes:
5120x2880 (16:9)
6000x6000 (1:1)
If the background could be set to 'fit' that would be excellent.
@Uggbert commented on GitHub:
Yes this would be great.
On Wed, 18 Jun 2025, 09:50 Armin Briegel, @.***> wrote:
@scriptingosx commented on GitHub:
so, like this:
(sample image has a square aspect ratio)
I have changed this from a bug to a feature. Current implementation works as it should. Implementing this request will require additional preference/profile keys.
@scriptingosx commented on GitHub:
Current behavior is "fill" which means it will scale the image up to fill the screen, even if parts of the image would be cut off.
"fit" would scale the image up (or down) so that the whole image fits on the screen, but leave grey areas to fill the remaining space. Is that what you want?
@Uggbert commented on GitHub:
Yep, I would then just need to ensure my images are 16:9 or 16:10 aspect
ratio so they fit the screen with minimal/no cutoff/borders
https://en.m.wikipedia.org/wiki/Retina_display
Annoyingly Apple do not have a consistent resolution across models or
generations. But the aspect ratio can be put into 3 broad categories for
modern devices. 16:9 for iMac, 14:9 and 16:10 for Macbook, so I would play
about with an image resolution that covers these 3 with minimal black bars
when set to 'fit'
I assume 'fit' will scale the longest image resolution dimension to the
display and then leave black/white bars to the opposite sides to maintain
the aspect ratio and avoid image distortion:
A wider image will add bars to the top and bottom to ensure a fit, a taller
image will add bars to the left and right to ensure a fit ?
Hope that makes sense.
On Thu, 19 Jun 2025, 07:41 Armin Briegel, @.***> wrote: