I have a page that contains thumbnails for a photo gallery. On this page is a link to upload more images. When you click the link a modal opens that contains an upload form (jquery colorbox in an iframe) which will allow you to upload one image (plus its name, caption, etc) at a time using PHP. When the form is submitted the image uploads and the page refreshes in the modal to allow for more uploads.
Since this modal is sitting on top of the existing gallery thumbnails I'd really like for the user to see the new thumbnail added to the page after it's uploaded.
I haven't tried this myself, however if you are using jQuery could you maybe detect when the iframe has loaded and then re-load the gallery using ajax?
/* Reload gallery in ajax here */
Maybe that would work?