<!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> </DIV>
<DIV>Please check out the following line:</DIV>
<DIV><BR><input type="image" name="img"src="\mapexamples\temp\" width="800"
height="900"></DIV>
<DIV> </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> </DIV>
<DIV>regards,</DIV>
<DIV> </DIV>
<DIV>Jacob</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </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> </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> </DIV>
<DIV>here is my html code</DIV>
<DIV> </DIV>
<DIV><BR> <form name="mapserv"
method="GET"
action="/cgi-bin/mapserv.exe"><BR>
<!-- HIDDEN MAPSERVER CGI VARIABLES
--><BR> <input
type="hidden" name="map"
value="\mapexamples\1.map"><BR>
<input type="hidden" name="imgext" value="-2217.186321 -3797.903064
1468.370211
-24.437500"><BR>
<input type="hidden" name="imgxy" value="800
900"><BR> <input type="hidden"
name="zoom" value="0"><BR> <input
type="hidden" name="layer"
value="SID"><BR> <input type="hidden"
name="mode"
value="BROWSE"><BR>
<div align="center"><BR>
<table border="1" cellpadding="0"
cellspacing="0"><BR>
<tr><BR>
<td><BR>
<!-- THE INTERACTIVE, DYNAMICALLY CREATED MAP
--><BR>
<input type="image"
name="img"src="\mapexamples\temp\"<BR>
width="800"
height="900"><BR>
</td><BR>
</tr><BR>
</table><BR>
</div><BR> </form></DIV>
<DIV> </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> </DIV>
<DIV><BR>MAP<BR>
IMAGETYPE
PNG24<BR>
EXTENT
-2217.186321 -3797.903064 1468.370211 -24.437500<BR>
SIZE
800 900<BR>
SHAPEPATH
"\data"<BR>
IMAGECOLOR 251 251
251<BR> SYMBOLSET
"\symbols\SYMBOLS35.SYM"</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>WEB<BR> TEMPLATE
'\mapexamples\map1.html'<BR>
IMAGEPATH
'\mapexamples\temp\'<BR>
IMAGEURL '\mapexamples\temp\'<BR>END</DIV>
<DIV> </DIV>
<DIV><BR>LAYER<BR>
NAME
SID<BR>
DATA
Da06<BR>
STATUS
on<BR>.....<BR>...<BR>..<BR>.<BR>.<BR>.<BR>.<BR>END</DIV>
<DIV> </DIV>
<DIV>Please help!</DIV>
<DIV> </DIV>
<DIV>Thanks for your help in advance</DIV>
<DIV> </DIV>
<DIV>Kichi</DIV>
<DIV> </DIV>
<DIV></FONT> </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> </DIV>
<DIV><FONT face=Arial size=2>Tel + 61 8 9281
6185<BR>Fax + 61 8 9281 6297<BR><A
href="mailto:jacob.delfos@maunsell.com">jacob.delfos@maunsell.com</A></FONT></DIV></BODY></HTML>