How to change the login background with custom picture

Hello,

How can we change the login background using a custom image?

I’ve found the CSS settings but don’t know how we can apply it using a custom image from the Morpheus server’s NFS path or local Any sample or guidelines, please?

Thanks,
Aung

One method is hosting the image in Archives within Morpheus. We don’t allow injection from alternate URLs, but Archives will create a public URL for the image you upload wiht the Morpheus URL.

Just quickly pointing at an image I already have in my environment, I get:

I just used this CSS:

.login-body {
  background-image: url('path/to/your/image.jpg');
  background-size: cover; /* Adjust this as needed */
  background-repeat: no-repeat; /* Optional: prevents image tiling */
}
2 Likes

Thanks a lot. I must use the Archive option. :smiley:

1 Like