<!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.2800.1505" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff><FONT face=Arial size=2>
<DIV>Kichi,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Please check out the following line:</DIV>
<DIV><BR>&lt;input type="image" name="img"src="\mapexamples\temp\" width="800" 
height="900"&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>The src of the image should point to the map image. So set the src as 
follows:</DIV>
<DIV><FONT size=2>
<P>SRC="[img]"</P></FONT></DIV>
<DIV>The [img] will be substituted with the URL. Also make sure there is a space 
between "img" and src, because it doesn't like like you have it.</DIV>
<DIV>&nbsp;</DIV>
<DIV>regards,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Jacob</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>--------------------------------------------------------------------------------<BR>From: 
UMN MapServer Users List [mailto:MAPSERVER-USERS@LISTS.UMN.EDU] On Behalf Of 
krishnaa sridharan<BR>Sent: 27 July 2005 11:15<BR>To: <A 
href="mailto:MAPSERVER-USERS@LISTS.UMN.EDU">MAPSERVER-USERS@LISTS.UMN.EDU</A><BR>Subject: 
[UMN_MAPSERVER-USERS] Vewing Image in "Browse" mode</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>Hi all,<BR>I am a new user of mapserver and was going throught the 
tutorial in the documentation section.<BR>When i was trying create a html file 
which display the map in the browse mode, I am not able to view the image though 
mapserver creates temporary PNG files in the directory were i wanted it too. I 
tried opening the map in 'map' mode and i could get the image .</DIV>
<DIV>&nbsp;</DIV>
<DIV>here is my html code</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;form name="mapserv" 
method="GET" 
action="/cgi-bin/mapserv.exe"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;!-- HIDDEN MAPSERVER CGI VARIABLES 
--&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;input 
type="hidden" name="map" 
value="\mapexamples\1.map"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;input type="hidden" name="imgext" value="-2217.186321 -3797.903064 
1468.370211 
-24.437500"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;input type="hidden" name="imgxy" value="800 
900"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;input type="hidden" 
name="zoom" value="0"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;input 
type="hidden" name="layer" 
value="SID"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;input type="hidden" 
name="mode" 
value="BROWSE"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;div align="center"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;table border="1" cellpadding="0" 
cellspacing="0"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;tr&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;td&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;!-- THE INTERACTIVE, DYNAMICALLY CREATED MAP 
--&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;input type="image" 
name="img"src="\mapexamples\temp\"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
width="800" 
height="900"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;/td&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;/tr&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;/table&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;/div&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp; &lt;/form&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>I am sure the mapserver initiates well as it creates temp images. I 
also made sure that the folder had full read/write acess. this is the map file i 
tried to acess.</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>MAP<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
IMAGETYPE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
PNG24<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
EXTENT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
-2217.186321 -3797.903064 1468.370211 -24.437500<BR>&nbsp;&nbsp;&nbsp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</DIV>
<DIV>&nbsp;</DIV>
<DIV>Please help!</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks for your help in advance</DIV>
<DIV>&nbsp;</DIV>
<DIV>Kichi</DIV>
<DIV>&nbsp;</DIV>
<DIV></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>JACOB DELFOS<BR>SPATIAL INFORMATION 
ANALYST<BR>Maunsell Australia Pty Ltd<BR>629 Newcastle Street, WA 6007<BR>PO Box 
81, WA 6902<BR>Leederville <BR>Western Australia<BR>ABN 20 093 846 
925</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Tel &nbsp;&nbsp;&nbsp;&nbsp;+ 61 8 9281 
6185<BR>Fax&nbsp;&nbsp;&nbsp; + 61 8 9281 6297<BR><A 
href="mailto:jacob.delfos@maunsell.com">jacob.delfos@maunsell.com</A></FONT></DIV></BODY></HTML>