HI Ally. Thanks this code works!
*Could the delay just be down to the browser uploading the image?
the delay that i detect is caused by the button of image. You can see, the times between page and page with 0 button, 1 button o more buttons.
I look forward to this functionality (muitiple previews) in your great plugin!