The image has Box mode and Img mode, which can be switched by the switch at the top right of the selection frame.
To insert child boxes, such as text, make sure the image is in Box mode and the size is larger than the child element.
In Img mode, the image ratio is preserved, but child boxes cannot be put in or filtered.