Dynamic Background Image Contained In Box

I have a box with a background image that I am using because I need the size: contain feature. Is there a way to make that same image dynamic or another way of creating the same contained dynamic image in box?

We have a tutorial describing the approach, see the How to scale and crop images article.

Erik

Fyi. In a future version, this will be easier. Starting with OL Connect 2026.1, we’re moving to the Chromium browser engine, which supports the contain option directly on images. This means you’ll be able to use the Dynamic Image wizard on the image itself, so no need to use a background image and script anymore.

1 Like

Thank you very much. And that is another feature of the 2026.1 update that I will be looking forward to.

1 Like

I now have another question in regard’s to this if you don’t mind. How could I make this box with the image in it float with some text that is above it?