Page 1 of 1

Background Image on Default Login page

Posted: Wed Dec 04, 2024 9:24 am
by dhunt
I have an image on the default launch page that is 6000px by 4000px. I am trying to shrink it down to fit the size of the screen but anything i do to the image does not shrink it. Can someone tell me what I am doing wrong? I also cant add a drop shadow to the login panel around the white space where there is a border. The login screen should be the full image below but its just the corner of it.

Code: Select all

Define_Com Class(#VF_AC006O) Name(#VLF_ONE) Parent(#COM_OWNER) Height(800) Width(1200)
Define_Com Class(#PRIM_IMAG) Name(#BGImage) Displayposition(2)

#BGImage.Image <= #SYS_APPLN.CreateBitmap( "Darkened_Image_For_BG.jpg" )
#BGImage.ImageSizing := Cropped

#VLF_ONE.Image <= #BGImage.Image
#VLF_ONE.ImageAlignment := Center

Untitled2.png
Untitled2.png (858.56 KiB) Viewed 60625 times
Darkened_Image_For_BG.jpg
Darkened_Image_For_BG.jpg (3.63 MiB) Viewed 60625 times

Re: Background Image on Default Login page

Posted: Wed Dec 04, 2024 2:33 pm
by Tim McEntee
Hi

Try #BPImage.ImageUnits
.ImageHeight
.ImageWidth

Tim

Re: Background Image on Default Login page

Posted: Thu Dec 05, 2024 3:41 am
by dhunt
I forgot to mention this is for VLF-One,

.ImageUnits
.ImageHeight
.ImageWidth

are not supported on the Web. Any other ideas?

Re: Background Image on Default Login page

Posted: Thu Jan 16, 2025 11:02 am
by Tim McEntee
I don't think you can change the size in this circumstance.

The best option is for you to size the image so that it fits the screen.