<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16544" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>well, I can only say something is wrong with your 
javascript.</FONT></DIV>
<DIV><FONT size=2>maybe have a look at <A 
href="http://www.webreference.com/js/column7/jslaunch.html">http://www.webreference.com/js/column7/jslaunch.html</A>&nbsp;to 
see if you can find what exactly.</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>regards</FONT></DIV>
<DIV><FONT size=2>Oliver</FONT></DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=vitor.campos@gmail.com href="mailto:vitor.campos@gmail.com">Vitor 
  Campos</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A 
  title=cartoweb-users@lists.maptools.org 
  href="mailto:cartoweb-users@lists.maptools.org">cartoweb-users@lists.maptools.org</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, October 24, 2007 10:08 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> [Cartoweb-users] Upload 
  georeferenced images with Edition plugin</DIV>
  <DIV><BR></DIV>
  <DIV>Hi, all</DIV>
  <DIV>I'm trying to use this feature,&nbsp;like was discussed before between 
  Igor and Oliver.</DIV>
  <DIV>I did everything in the steps, but it's not working.</DIV>
  <DIV>In the function pickName, window.opener is null.</DIV>
  <DIV>I'm calling the popup like this:</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>function attachFilePopup(){<BR>&nbsp;&nbsp;&nbsp; var aFile = 
  window.open("upload.php","atachFile","Image File 
Upload");<BR>&nbsp;<BR>}</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>-------------------------------</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>my pickName is like this:</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>
  <P>function pickName()<BR>&nbsp;&nbsp;&nbsp; 
  {<BR>&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (window.opener 
  &amp;&amp; 
  !window.opener.closed)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  window.opener.document.carto_form['edit_feature_1193250090093251[pathfoto]'].value 
  = document.aForm.filename.value ;</P>
  <P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  window.close();<BR>&nbsp;&nbsp;&nbsp; }</P>
  <P>&nbsp;</P>
  <P>Thanx</P>
  <P>&nbsp;</P>
  <P>Vítor Campos</P></DIV>
  <P>
  <HR>

  <P></P>_______________________________________________<BR>Cartoweb-users 
  mailing 
  list<BR>Cartoweb-users@lists.maptools.org<BR>http://lists.maptools.org/mailman/listinfo/cartoweb-users<BR></BLOCKQUOTE></BODY></HTML>