1) Take an image and some text.
2) In the backend, get LyX to place the text in a box, the image in another box, then put the two boxes in a larger box side-by-side
3) Automatically number the outer box and display a label in final output. Is this possible? Thanks. Max