Background Image on Default Login page

This Q&A forum allows users to post and respond to "How Do I Do ....." questions. Please do not use to report (suspected) errors - you must use your regional help desk for this. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
Post Reply
dhunt
Posts: 65
Joined: Fri Feb 08, 2019 3:06 am

Background Image on Default Login page

Post 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 60623 times
Darkened_Image_For_BG.jpg
Darkened_Image_For_BG.jpg (3.63 MiB) Viewed 60623 times
Tim McEntee
Posts: 57
Joined: Thu May 26, 2016 8:46 am

Re: Background Image on Default Login page

Post by Tim McEntee »

Hi

Try #BPImage.ImageUnits
.ImageHeight
.ImageWidth

Tim
dhunt
Posts: 65
Joined: Fri Feb 08, 2019 3:06 am

Re: Background Image on Default Login page

Post by dhunt »

I forgot to mention this is for VLF-One,

.ImageUnits
.ImageHeight
.ImageWidth

are not supported on the Web. Any other ideas?
Tim McEntee
Posts: 57
Joined: Thu May 26, 2016 8:46 am

Re: Background Image on Default Login page

Post 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.
Post Reply