Show image by clicking button (macro)

Hello
I’m aware of the MsgBox function in LO, but how can I do if I want to show a message box with an image?
I mean, a macro associated to a button that opens a window with the image (let’s call it “image box”)
I could do this in the past but I lost the code.

I’m not referring to the “choose image” form control to load an image, I’m referring to the way for showing an image saved into the document (as a help window for the user, for example)

Just create your own dialog, insert Image Control and set image to display.

Use macros from Help-Programming Examples for Controls in the Dialog Editor to load and display a dialog