You could just create a new div that holds your image. In the following example I got rid of Sugarcube's UI-bar. If you want to keep the bar, you'll have to play around with the css and see what ends up looking right. First we set up the new elements in our CSS-stylesheet:
#passages {
position: absolute;
top:50%;
width:50%;
left: 50%;
bottom; 1%;
transform: translateX(-50%);
}
#picture {
background-color: #111;
position: fixed;
width:50%;
bottom: 50%;
left: 50%;
top: 1%;
transform: translateX(-50%);
border: 1px solid white;
}
Then add them via our JabaScript section:
UIBar.destroy();
$('<div id="picture"></div>').appendTo(document.body);
Then we call the appropriate picture within our passage like this:
<<replace "#picture">>Your Picture<</replace>>