How to add background image in pyHome Landing Page.

I want to set a background image in pyHome landing page. This background image field is only accepting a kind of link in it. I also don’t want to give any link made from any external website.
I kept an image as binary file in pega and using its pxInsName here in background image. After doing this, the background image is coming in App studio but when i am launching the portal then it is coming as blank.
Please tell me some way which will help me successfully set an image as background image.

Hello @SrijanA17604615

There are currently two possible ways of setting an image in the banner text box which you have mentioned in the screenshot,

  1. The URL where the image is located. It could be an external or an internal repository which is accessible from pega.
  2. The full base 64 encoded string of you image without double quotes like “data:image/jpg;base64,/9j/4AAQSkZJRgABAgEASABIAAD/…”

Any other method is currently not supported by this text box. Not sure if 26.1.1 has any new ways of showing a custom image.

Hope this helps

Regards

JC