at present they have to change and save to see what it looks like but i wish to have a method where the CMS shows them what it will look like, so they can have the two images to the sizes they want, as the images are not always going to be the same size.

i wish to have the <div> box refresh its content and show what it will look like.

not sure if i have explained myself clearly but if you have not understood please do ask.

below is what i have created for testing purposes as i could not extract the code from the original code.

but the result of just this part is the same as what i currently have.