Thanks for the help, I will check out the link to the .js Can I contact you if I have a question or two?
So far what I have working is an image field loading an image, then in a custom meta box I have a “refresh” button that I can click to load the image into the custom HTML. I am hoping I can do away with the refresh button with what you are sharing.