There is a lot of detail missing from your question. I will respond in a relaxed way with the hope that it will help you.
My suggestion:
HTML
<div id="conteudoJanela">
<div>Adicione um url aqui:
<input id="urlImagem" type="text" />
<br />Exemplo: http://goo.gl/6I4zTg</div>
<hr />
<button type="button">Enviar</button>
</div>
<button type="button" id="abrir">Abrir nova janela</button>
<hr/>Lista de URL's
<div id="listaURL"></div>
javascript/jQuery
var conteudo = $('#conteudoJanela').html();
$('#abrir').on('click', function () {
var win = window.open("", "", "width=400, height=200");
$novaJanela = $(win.document.body);
$novaJanela.html(conteudo);
$novaJanela.find('#enviar').on('click', function () {
var url = $novaJanela.find('#urlImagem').val();
$('#listaURL').append(url + '<br />');
win.close();
});
});
CSS
#conteudoJanela {
display: none;
}
We need more information... are the photos recorded in a directory? or just a reference on the client side? Do you have any ajax? What is the code like?
– Sergio
no, it’s all stored with jquery. What I want is that by clicking "Close window", the listing window can update itself
– pc_oc
There are many ways to do this, you need to post some parts of your code, and/or further detail the question, so someone can guide you clearly.
– bfavaretto