hello list <br>
I have constructed following mapfile :<br>


<p class="MsoPlainText"><span style="" lang="EN-US">MAP<br>
<span style="">&nbsp; </span>NAME<span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>
EX1.9<br>
<span style="">&nbsp; </span>IMAGETYPE<span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>PNG24<br>
<span style="">&nbsp; </span>#EXTENT<span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>-81.328393 -18.351232 -68.653396
-0.038607<br>
<span style="">&nbsp; </span>EXTENT<span style="">&nbsp;&nbsp;&nbsp; </span>2302807
-6483741 3702046 -4286330 #laea <br>
<span style="">&nbsp; </span>SIZE<span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>400 300 <br>
<span style="">&nbsp; </span>SHAPEPATH<span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>&quot;/home/postgres/vectores&quot;<br>
<span style="">&nbsp; </span>FONTSET<span style="">&nbsp;&nbsp; </span>
&quot;/home/earevalo/mapserver-4.8.3/fonts/fonts.list&quot;<br>
<span style="">&nbsp; </span>SYMBOLSET<span style=""> </span>&quot;/home/earevalo/mapserver-4.8.3/symbols/line.sym&quot;<br>
<br>
WEB<br>
<span style="">&nbsp;&nbsp;&nbsp; </span>TEMPLATE<span style="">&nbsp;
</span>&quot;/usr/local/apache2/htdocs/httpmapinteractivo.html&quot;<span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><br>
<span style="">&nbsp;&nbsp;&nbsp; </span>IMAGEPATH
&quot;/home/earevalo/mapserver-4.8.3/tmp/&quot;<br>
<span style="">&nbsp;&nbsp;&nbsp; </span>IMAGEURL<span style="">&nbsp; </span>&quot;/tmp/&quot;<br>
<span style="">&nbsp;&nbsp;&nbsp; </span>LOG<span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>&quot;/home/earevalo/mapserver-4.8.3/log/mslog&quot;<span style="">&nbsp;&nbsp; </span><span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="">&nbsp;</span><br>
END<br>
<br>
<span style="">&nbsp;</span>PROJECTION<span style=""> </span><br>
<span style="">&nbsp;&nbsp; </span># &quot;proj=laea&quot;<br>
<span style="">&nbsp;&nbsp; </span># &quot;ellps=clrk66&quot;<br>
<span style="">&nbsp;&nbsp; </span># &quot;lat_0=45&quot;<br>
<span style="">&nbsp;&nbsp; </span># &quot;lon_0=-100&quot;<br>
<span style="">&nbsp; </span>&quot;init=epsg:2163&quot;<span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><br>
<span style="">&nbsp;</span>END<span style="">&nbsp; </span>
<br>
<br>
LAYER <br>
<span style="">&nbsp;&nbsp;&nbsp; </span>NAME<span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>Peru_poly<br>
<span style="">&nbsp;&nbsp;&nbsp; </span>DATA<span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>departamentos<br>
<span style="">&nbsp;&nbsp;&nbsp; </span>STATUS<span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>OFF<br>
<span style="">&nbsp;&nbsp;&nbsp; </span>TYPE<span style="">&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="">&nbsp;&nbsp;&nbsp;&nbsp;</span>POLYGON<br>
<span style="">&nbsp;&nbsp; </span>PROJECTION<br>
<span style="">&nbsp;&nbsp;&nbsp; </span>&quot;init=epsg:4326&quot;<br>
<span style="">&nbsp;&nbsp; </span>END <br>
<span style="">&nbsp;&nbsp; </span>CLASSITEM<span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span> &quot;nomb_dep&quot;<br>
<span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>CLASS <span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="">&nbsp;&nbsp;&nbsp;&nbsp;</span><br>
<span style="">&nbsp;&nbsp;&nbsp; </span><span style="">&nbsp; </span>NAME<span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>&quot;departamento selva&quot;<br>
<span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>EXPRESSION &quot;UCAYALI&quot;<span style="">&nbsp; </span><span style="">&nbsp; </span><br>
<span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>STYLE<br>
<span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="">&nbsp; </span>SYMBOL<span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span> 0<br>
<span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>COLOR<span style="">&nbsp;&nbsp;&nbsp; </span>232 232 232<br>
<span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="">&nbsp;</span>END<br>
<span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>END<br>
<span style="">&nbsp; </span>END<br>
<span style="">&nbsp;</span><br>
<span style="">&nbsp;</span>LAYER #MOSAICO PERÚ<br>
<span style="">&nbsp; </span>NAME<span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>Mosaico_Peru<br>
<span style="">&nbsp; </span>DATA<span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>&quot;/home/postgres/raster/PERU300DPI.tif&quot;<br>
<span style="">&nbsp; </span>STATUS<span style="">&nbsp;&nbsp;&nbsp; </span>OFF#DEFAULT<br>
<span style="">&nbsp; </span>TYPE<span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>RASTER<br>
<span style="">&nbsp; </span>PROCESSING<span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>&quot;BANDS=1,2,3&quot;<br>
<span style="">&nbsp; </span>OFFSITE<span style="">&nbsp;&nbsp; </span>71
74 65<br>
<span style="">&nbsp; </span>PROJECTION<br>
<span style="">&nbsp;&nbsp; </span>&quot;init=epsg:4326&quot;<br>
<span style="">&nbsp; </span>END <br>
END<br>
<br>
LAYER #CAPA EXTERNA WMS<br>
NAME<span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>Mosaico_WMS<br>
TYPE<span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>RASTER<br>
OFFSITE<span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>0 0 0<br>
STATUS<span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>OFF#OFF<br>
CONNECTIONTYPE<span style="">&nbsp;&nbsp;&nbsp; </span>WMS<br>
CONNECTION<span style="">&nbsp; </span>&quot;<a href="http://10.1.6.46/cgi-bin/mapserv?map=mapwms.map&amp;SERVICE=wms&amp;VERSION=1.1.1&amp;REQUEST=GetMap&amp;LAYERS=Mosaico_Peru">http://10.1.6.46/cgi-bin/mapserv?map=mapwms.map&amp;SERVICE=wms&amp;VERSION=1.1.1&amp;REQUEST=GetMap&amp;LAYERS=Mosaico_Peru
</a>&quot;<br>
<br>
METADATA<br>
<span style="">&nbsp; </span>&quot;wms_srs&quot;
&quot;EPSG:4326&quot;<br>
<span style="">&nbsp; </span>&quot;wms_name&quot;
&quot;Mosaico&quot;<br>
<span style="">&nbsp; </span>&quot;wms_server_version&quot; &quot;1.1.1&quot;<br>
<span style="">&nbsp; </span>&quot;wms_format&quot;
&quot;image/jpeg&quot;<br>
END<br>
PROJECTION<br>
<span style="">&nbsp;&nbsp; </span>&quot;init=epsg:4326&quot;<br>
<span style="">&nbsp;</span>END<br>
</span>END<br>
<br>
<br>
LAYER #CAPA DEPARTAMENTOS<br>
<span style="">&nbsp;</span>NAME<span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>Peru_poly<br>
<span style="">&nbsp;</span>DATA<span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>departamentos<br>
<span style="">&nbsp;</span><span style="" lang="EN-US">STATUS<span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>OFF<br>
<span style="">&nbsp;</span>TYPE<span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>LINE<br>
<span style="">&nbsp;</span><br>
<span style="">&nbsp;</span>PROJECTION<br>
<span style="">&nbsp;</span>&quot;init=epsg:4326&quot;<br>
<span style="">&nbsp; </span>END<br>
<span style="">&nbsp;</span><br>
CLASSITEM<span style="">&nbsp;&nbsp; </span>&quot;nomb_dep&quot;<br>
<span style="">&nbsp;&nbsp; </span>CLASS<br>
<span style="">&nbsp;&nbsp;&nbsp; </span>NAME<span style="">&nbsp;&nbsp;&nbsp; </span>&quot;departamento
selva&quot;<br>
<span style="">&nbsp;&nbsp;&nbsp; </span>EXPRESSION<span style="">&nbsp;&nbsp;&nbsp; </span>&quot;UCAYALI&quot;<br>
<span style="">&nbsp;&nbsp;&nbsp; </span>STYLE<br>
<span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>SYMBOL<span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>'line'<br>
<span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>COLOR<span style=""> </span>32 32 32<br>
<span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>SIZE<span style="">&nbsp; </span>1<span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><br>
<span style="">&nbsp;&nbsp;&nbsp; </span>END<br>
<span style="">&nbsp; </span>END<br>
END<br>
<br>
LAYER #CAPA DEPARTAMENTOS<br>
NAME<span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>Peru_poly<br>
DATA<span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>departamentos<br>
STATUS<span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>OFF<br>
TYPE<span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>LINE<br>
<br>
PROJECTION<br>
&quot;init=epsg:4326&quot;<br>
END<br>
CLASSITEM<span style="">&nbsp;&nbsp; </span>&quot;nomb_dep&quot;<br>
<span style="">&nbsp;&nbsp; </span>CLASS<br>
<span style="">&nbsp;&nbsp; </span></span>NAME<span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>&quot;Departamentos Costa&quot;<br>
<span style="">&nbsp;&nbsp; </span>EXPRESSION<span style="">&nbsp;&nbsp;&nbsp;&nbsp; </span>&quot;LIMA&quot;<br>
<span style="">&nbsp;&nbsp; </span><span style="" lang="EN-US">STYLE<br>
<span style="">&nbsp;&nbsp;&nbsp;&nbsp; </span>SYMBOL<span style=""> </span>'line'<br>
<span style="">&nbsp;&nbsp;&nbsp;&nbsp; </span>COLOR<span style="">&nbsp; </span>32 32 32<br>
<span style="">&nbsp;&nbsp;&nbsp;&nbsp; </span>SIZE<span style="">&nbsp;&nbsp; </span>1<br>
<span style="">&nbsp;&nbsp;&nbsp; </span></span>END<br>
<span style="">&nbsp; </span>END<br>
END<span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><br>
<br>
LAYER #TITULOS DE DEPARTAMENTOS<br>
<span style="">&nbsp;</span>NAME<span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>Titulos<br>
<span style="">&nbsp;</span><span style="" lang="EN-US">DATA<span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>departamentos<br>
<span style="">&nbsp;</span>STATUS<span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>OFF<br>
<span style="">&nbsp;</span>TYPE<span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>ANNOTATION<br>
<span style="">&nbsp;</span>PROJECTION<br>
<span style="">&nbsp;</span>&quot;init=epsg:4326&quot;<br>
<span style="">&nbsp;</span>END<br>
<span style="">&nbsp;</span><br>
<span style="">&nbsp;</span>CLASSITEM<span style="">&nbsp; </span>&quot;nomb_dep&quot;<br>
<span style="">&nbsp;</span>LABELITEM<span style="">&nbsp; </span>&quot;capital&quot;<br>
<span style="">&nbsp;&nbsp; </span>CLASS<span style="">&nbsp;&nbsp;&nbsp; </span><br>
<span style="">&nbsp;&nbsp; </span>EXPRESSION<span style="">&nbsp;&nbsp;&nbsp;&nbsp; </span>/./<br>
<span style="">&nbsp;&nbsp; </span>STYLE<br>
<span style="">&nbsp;&nbsp; </span>COLOR<span style="">&nbsp;&nbsp;&nbsp; </span>-1
-1 -1<br>
<span style="">&nbsp;&nbsp; </span>END<br>
<br>
<span style="">&nbsp;&nbsp; </span>LABEL<br>
<span style="">&nbsp;&nbsp; </span>COLOR<span style="">&nbsp;&nbsp;&nbsp; </span>132
31 31<br>
<span style="">&nbsp;&nbsp; </span>SHADOWCOLOR<span style="">&nbsp;&nbsp;&nbsp; </span>218 218 218<br>
<span style="">&nbsp;&nbsp; </span>SHADOWSIZE<span style="">&nbsp;&nbsp;&nbsp;&nbsp; </span>1 1<br>
<span style="">&nbsp;&nbsp; </span>TYPE<span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>TRUETYPE<br>
<span style="">&nbsp;&nbsp; </span>FONT<span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>arial-bold<br>
<span style="">&nbsp;&nbsp; </span>SIZE<span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>8<br>
<span style="">&nbsp;</span><span style="">&nbsp;
</span>ANTIALIAS<span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>TRUE<br>
<span style="">&nbsp;&nbsp; </span>POSITION<span style=""> </span>CL<br>
<span style="">&nbsp;&nbsp; </span>PARTIALS<span style=""> </span>FALSE<br>
<span style="">&nbsp;&nbsp; </span>MINDISTANCE<span style="">&nbsp;&nbsp;&nbsp; </span>200<br>
<span style="">&nbsp;&nbsp; </span>BUFFER<span style="">&nbsp;&nbsp; </span>4<br>
<span style="">&nbsp;&nbsp; </span>END<br>
<span style="">&nbsp; </span></span>END<br>
END<br>
END<br>
END<br>
</p>

in the line<br>
<span style="" lang="EN-US">
WEB<br>
<span style="">&nbsp;&nbsp;&nbsp; </span>TEMPLATE<span style="">&nbsp;
</span>&quot;/usr/local/apache2/htdocs/httpmapinteractivo.html&quot;<span style=""> </span></span><br>
........<br>
<br>
it calls to template following:<br>
&lt;html&gt;<br>
&nbsp; &lt;head&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;title&gt;prueba&lt;/title&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=iso-8859-1&quot;&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;link type=&quot;text/css&quot; rel=&quot;stylesheet&quot; href=&quot;/tutorial/ms35.css&quot; /&gt;<br>
&nbsp; &lt;/head&gt;<br>
&nbsp; &lt;body bgcolor=&quot;#FFFFFF&quot; text=&quot;#000000&quot;&gt;<br>
&nbsp; &lt;table align=&quot;center&quot; width=&quot;680&quot; border=&quot;0&quot;&gt;<br>
<br>
&nbsp;&nbsp;&nbsp; &lt;tr&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;td&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;h3 align=&quot;center&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Ejemplo 1: Mapa interctivo y modo Browse <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/h3&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;div align=&quot;center&quot;&gt;<br>
&nbsp;&nbsp;&nbsp; &nbsp; &lt;img border=&quot;1&quot;
src=&quot;/cgi-bin/mapserv?map=/home/earevalo/mapserver-4.8.3/tests/cincomapinter.map&amp;layer=Peru_poly&amp;layer=Mosaico_Peru&amp;layer=Titulos&amp;mode=map&quot;
/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/div&gt;<br>
&lt;p&gt;--------------------------------------------------&lt;/p&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!-- START OF MAPSERVER FORM --&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;form name=&quot;mapserv&quot; method=&quot;GET&quot; action=&quot;/cgi-bin/mapserv&quot;&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=&quot;hidden&quot; name=&quot;map&quot; value=&quot;[map]&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;input type=&quot;hidden&quot; name=&quot;imgext&quot; value=&quot;[mapext]&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;input type=&quot;hidden&quot; name=&quot;imgxy&quot; value=&quot;200.0 150.0&quot;&gt;<br>
&nbsp;&nbsp;&nbsp; &nbsp; &lt;input type=&quot;hidden&quot; name=&quot;zoom&quot; value=&quot;0&quot;&gt;<br>
&nbsp;&nbsp;&nbsp; &nbsp; &lt;input type=&quot;hidden&quot; name=&quot;layer&quot; value=&quot;Mosaico_Peru&quot;&gt;<br>
&nbsp;&nbsp;&nbsp; &nbsp; &lt;input type=&quot;hidden&quot; name=&quot;layer&quot; value=&quot;Peru_poly&quot;&gt;<br>
&nbsp;&nbsp;&nbsp; &nbsp; &lt;!--input type=&quot;hidden&quot; name=&quot;layer&quot; value=&quot;Titulos&quot;--&gt;<br>
&nbsp;&nbsp;&nbsp; &nbsp; &lt;input type=&quot;hidden&quot; name=&quot;mode&quot; value=&quot;browse&quot;&gt;<br>
&nbsp;&nbsp;&nbsp; &nbsp; &lt;div align=&quot;center&quot;&gt;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;<br>
&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; &lt;!-- THE INTERACTIVE, DYNAMICALLY CREATED MAP --&gt;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &lt;input type=&quot;image&quot; name=&quot;img&quot; src=&quot;[img]&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
width=&quot;400&quot; height=&quot;300&quot;&gt;<br>
&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; &lt;/table&gt;<br>
&nbsp;&nbsp;&nbsp; &nbsp; &lt;/div&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;/form&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!-- END OF MAPSERVER FORM --&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/td&gt;<br>
&lt;/tr&gt;<br>
&lt;/table&gt;<br>
&lt;/body&gt;<br>
&lt;/html&gt;<br>
<br>
when I invoke to mapfile with:
<a href="http://10.1.6.46/cgi-bin/mapserv?map=/home/earevalo/mapserver-4.8.3/tests/cincomapinter.map&amp;mode=browse">http://10.1.6.46/cgi-bin/mapserv?map=/home/earevalo/mapserver-4.8.3/tests/cincomapinter.map&amp;mode=browse
</a><br>
<br>
the resulting HTML is:<br>
<pre id="line1"><span class="comment">&lt;!-- MapServer version 4.6.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=PDF OUTPUT=SWF OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=GEOS INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE --&gt;
</span><br>&lt;<span class="start-tag">html</span>&gt;<br>  &lt;<span class="start-tag">head</span>&gt;<br>    &lt;<span class="start-tag">title</span>&gt;prueba&lt;/<span class="end-tag">title</span>&gt;<br>    &lt;<span class="start-tag">
meta</span><span class="attribute-name"> http-equiv</span>=<span class="attribute-value">&quot;Content-Type&quot; </span><span class="attribute-name">content</span>=<span class="attribute-value">&quot;text/html; charset=iso-8859-1&quot;
</span>&gt;<br>    &lt;<span class="start-tag">link</span><span class="attribute-name"> type</span>=<span class="attribute-value">&quot;text/css&quot; </span><span class="attribute-name">rel</span>=<span class="attribute-value">
&quot;stylesheet&quot; </span><span class="attribute-name">href</span>=<span class="attribute-value">&quot;/tutorial/ms35.css&quot; </span><span class="attribute-name">/</span>&gt;<br>  &lt;/<span class="end-tag">head</span>
&gt;<br>  &lt;<span class="start-tag">body</span><span class="attribute-name"> bgcolor</span>=<span class="attribute-value">&quot;#FFFFFF&quot; </span><span class="attribute-name">text</span>=<span class="attribute-value">
&quot;#000000&quot;</span>&gt;<br>  &lt;<span class="start-tag">table</span><span class="attribute-name"> align</span>=<span class="attribute-value">&quot;center&quot; </span><span class="attribute-name">width</span>=<span class="attribute-value">
&quot;680&quot; </span><span class="attribute-name">border</span>=<span class="attribute-value">&quot;0&quot;</span>&gt;<br></pre>
<pre id="line10">    &lt;<span class="start-tag">tr</span>&gt;<br>      &lt;<span class="start-tag">td</span>&gt;<br>        &lt;<span class="start-tag">h3</span><span class="attribute-name"> align</span>=<span class="attribute-value">
&quot;center&quot;</span>&gt;<br>          Ejemplo 1: Mapa interctivo y modo Browse <br>        &lt;/<span class="end-tag">h3</span>&gt;<br>        &lt;<span class="start-tag">div</span><span class="attribute-name"> align
</span>=<span class="attribute-value">&quot;center&quot;</span>&gt;<br>          &lt;<span class="start-tag">img</span><span class="attribute-name"> border</span>=<span class="attribute-value">&quot;1&quot; </span><span class="attribute-name">
src</span>=<span class="attribute-value">&quot;/cgi-bin/mapserv?map=/home/earevalo/mapserver-4.8.3/tests/cincomapinter.map&amp;layer=Peru_poly&amp;layer=Mosaico_Peru&amp;layer=Titulos&amp;mode=map&quot; </span><span class="attribute-name">
/</span>&gt;<br>        &lt;/<span class="end-tag">div</span>&gt;<br>&lt;<span class="start-tag">p</span>&gt;--------------------------------------------------&lt;/<span class="end-tag">p</span>&gt;<br></pre>
<pre id="line20">        <span class="comment">&lt;!-- START OF MAPSERVER FORM --&gt;</span><br>        &lt;<span class="start-tag">form</span><span class="attribute-name"> name</span>=<span class="attribute-value">&quot;mapserv&quot; 
</span><span class="attribute-name">method</span>=<span class="attribute-value">&quot;GET&quot; </span><span class="attribute-name">action</span>=<span class="attribute-value">&quot;/cgi-bin/mapserv&quot;</span>&gt;<br>          
<span class="comment">&lt;!-- HIDDEN MAPSERVER CGI VARIABLES --&gt;</span><br>          &lt;<span class="start-tag">input</span><span class="attribute-name"> type</span>=<span class="attribute-value">&quot;hidden&quot; </span>
<span class="attribute-name">name</span>=<span class="attribute-value">&quot;map&quot; </span><span class="attribute-name">value</span>=<span class="attribute-value">&quot;/home/earevalo/mapserver-4.8.3/tests/cincomapinter.map&quot;
</span>&gt;<br>          &lt;<span class="start-tag">input</span><span class="attribute-name"> type</span>=<span class="attribute-value">&quot;hidden&quot; </span><span class="attribute-name">name</span>=<span class="attribute-value">
&quot;imgext&quot; </span><span class="attribute-name">value</span>=<span class="attribute-value">&quot;1537485.833333 -6483741.000000 4467367.166667 -4286330.000000&quot;</span>&gt;<br>          &lt;<span class="start-tag">
input</span><span class="attribute-name"> type</span>=<span class="attribute-value">&quot;hidden&quot; </span><span class="attribute-name">name</span>=<span class="attribute-value">&quot;imgxy&quot; </span><span class="attribute-name">
value</span>=<span class="attribute-value">&quot;200.0 150.0&quot;</span>&gt;<br>          &lt;<span class="start-tag">input</span><span class="attribute-name"> type</span>=<span class="attribute-value">&quot;hidden&quot; </span>
<span class="attribute-name">name</span>=<span class="attribute-value">&quot;zoom&quot; </span><span class="attribute-name">value</span>=<span class="attribute-value">&quot;0&quot;</span>&gt;<br>          &lt;<span class="start-tag">
input</span><span class="attribute-name"> type</span>=<span class="attribute-value">&quot;hidden&quot; </span><span class="attribute-name">name</span>=<span class="attribute-value">&quot;layer&quot; </span><span class="attribute-name">
value</span>=<span class="attribute-value">&quot;Mosaico_Peru&quot;</span>&gt;<br>          &lt;<span class="start-tag">input</span><span class="attribute-name"> type</span>=<span class="attribute-value">&quot;hidden&quot; </span>
<span class="attribute-name">name</span>=<span class="attribute-value">&quot;layer&quot; </span><span class="attribute-name">value</span>=<span class="attribute-value">&quot;Peru_poly&quot;</span>&gt;<br></pre>
<pre id="line29">          <span class="comment">&lt;!--input type=&quot;hidden&quot; name=&quot;layer&quot; value=&quot;Titulos&quot;--&gt;</span><br>          &lt;<span class="start-tag">input</span><span class="attribute-name"> type
</span>=<span class="attribute-value">&quot;hidden&quot; </span><span class="attribute-name">name</span>=<span class="attribute-value">&quot;mode&quot; </span><span class="attribute-name">value</span>=<span class="attribute-value">
&quot;browse&quot;</span>&gt;<br>          &lt;<span class="start-tag">div</span><span class="attribute-name"> align</span>=<span class="attribute-value">&quot;center&quot;</span>&gt;<br>            &lt;<span class="start-tag">table</span>
<span class="attribute-name"> border</span>=<span class="attribute-value">&quot;1&quot; </span><span class="attribute-name">cellpadding</span>=<span class="attribute-value">&quot;0&quot; </span><span class="attribute-name">
cellspacing</span>=<span class="attribute-value">&quot;0&quot;</span>&gt;<br>              &lt;<span class="start-tag">tr</span>&gt;<br>                &lt;<span class="start-tag">td</span>&gt;<br>                  <span class="comment">&lt;!-- THE INTERACTIVE, DYNAMICALLY CREATED MAP --&gt;
</span><br>                  &lt;<span class="start-tag">input</span><span class="attribute-name"> type</span>=<span class="attribute-value">&quot;image&quot; </span><span class="attribute-name">name</span>=<span class="attribute-value">
&quot;img&quot; </span><span class="attribute-name">src</span>=<span class="attribute-value">&quot;/tmp/EX1.911528997113671.png&quot;<br>                    </span><span class="attribute-name">width</span>=<span class="attribute-value">
&quot;400&quot; </span><span class="attribute-name">height</span>=<span class="attribute-value">&quot;300&quot;</span>&gt;<br>                &lt;/<span class="end-tag">td</span>&gt;<br></pre>
<pre id="line39">              &lt;/<span class="end-tag">tr</span>&gt;<br>            &lt;/<span class="end-tag">table</span>&gt;<br>          &lt;/<span class="end-tag">div</span>&gt;<br>        &lt;/<span class="end-tag">form</span>&gt;<br>
        <span class="comment">&lt;!-- END OF MAPSERVER FORM --&gt;</span><br><br><br>      &lt;/<span class="end-tag">td</span>&gt;<br>&lt;/<span class="end-tag">tr</span>&gt;<br>&lt;/<span class="end-tag">table</span>&gt;
<br></pre>
<pre id="line50">&lt;/<span class="end-tag">body</span>&gt;<br>&lt;/<span class="end-tag">html</span>&gt;</pre>
the problem is the EXTENT (<span style="" lang="EN-US">2302807
-6483741 3702046 -4286330)</span> of mapfile is different that imgext [<br>
<pre id="line20"><span class="attribute-value">1537485.833333 -6483741.000000 4467367.166667 -4286330.000000]</span></pre>
<br>
by this it does not show the image to give an aid me <br>
<br>