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.
Thank you very much. And that is another feature of the 2026.1 update that I will be looking forward to.
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?
For that I would use an inline box. I assume you are currently using a positioned box. To convert this to an inline box: Right cllick the box and choose Convert to Inline from the contextual menu.
You can copy and paste this box to a location in your text or move it in the hierarchy by drag&drop in the Outline view.
White space around the box can be added by setting Margin in the Box Properties dialog.
Thank you again. I never really use inline boxes, but now I have something new to learn.