Danke Antje,
Es hat geklappt, aber als ich die Seite im Netz testen wollte trat folgendes Problem auf:
Die Grösse wurde nicht angepasst.
bei einem zweiten versuch mit demselben Bild gings dann, Ich nehme an das Bild muss im cache sein, oder so.
Hier meine funktion.
var photo=null;
function show(file)
{
if(photo!=null)
if(!photo.closed)photo.close();
photo=window.open("","","resizable=1,width=10,height=10,dependent=yes");
photo.document.open("text/html");
photo.document.write("<html><head><title>Photo Gallery</title></head><body bgcolor=#000000 leftmargin=0 topmargin=0><img src="+file+"></body></html>");
photo.resizeTo(photo.document.images[0].width+10,photo.document.images[0].height+10);
photo.focus();
}
wenn jemand eine Loesung haette ist ihm mein Dank sicher!
Bob