This example combines the following examples:
Add Text button to add some dynamic text in a resizable container. Double Click the text to edit it.
Add Image button to add an image from my server. Double Click that image to toggle the ability to resize.
The only issue that I did not tackle in this example is that you can resize the element to make it "escape" from the bounding box.