In Domino Leap, the function app.getImageBaseURL() always returns a relative URL, as documented.
However, App Page Image components (setURL()) require an absolute URL. They do not accept relative paths in either secure mode or non-secure mode.
This creates a functional gap:
Developers cannot obtain an absolute URL for application‑embedded images,even though absolute URLs are required by the Image component.
As a result, dynamic image switching using application‑stored images is currently impossible.
Steps to reproduce:
Deploy an app with images stored in the application
Call app.getImageBaseURL()
The function returns a relative path (e.g. ../../../../../anon/.../image/)
Call appPage.F_Image.setURL(base + "icon.svg")
The image does not load because setURL() requires an absolute URL
There is no API to convert the relative path into an absolute one
Request:
Please add a way for app.getImageBaseURL() to return an absolute URL, so that images stored in the application can be used with setURL() on App Page Image components.
This can be achieved with JavaScript by using the following code snippet: