This is written after the images are added. You need to ensure that in the code view (the button that has "<>" in it) has a <!-- split --> after the images.