Try this example:<br><br>&lt;html xmlns=&quot;<a href="http://www.w3.org/1999/xhtml">http://www.w3.org/1999/xhtml</a>&quot;&gt;<br>  &lt;head&gt;<br>      &lt;title&gt;OpenLayers Image Layer Example&lt;/title&gt;<br>    &lt;link rel=&quot;stylesheet&quot; href=&quot;../theme/default/style.css&quot; type=&quot;text/css&quot; /&gt;<br>

    &lt;link rel=&quot;stylesheet&quot; href=&quot;style.css&quot; type=&quot;text/css&quot; /&gt;<br>    &lt;script src=&quot;../lib/OpenLayers.js&quot;&gt;&lt;/script&gt;<br>    &lt;script type=&quot;text/javascript&quot;&gt;<br>

        var map;<br>        function init(){<br>            map = new OpenLayers.Map(&#39;map&#39;);<br><br>            var graphic = new OpenLayers.Layer.Image(<br>                &#39;City Lights&#39;,<br>                &#39;<a href="http://earthtrends.wri.org/images/maps/4_m_citylights_lg.gif">http://earthtrends.wri.org/images/maps/4_m_citylights_lg.gif</a>&#39;,<br>

                new OpenLayers.Bounds(-180, -88.759, 180, 88.759),<br>                new OpenLayers.Size(580, 288),<br>                {numZoomLevels: 1}<br>            );<br><br>            var jpl_wms = new OpenLayers.Layer.WMS( &quot;NASA Global Mosaic&quot;,<br>

                &quot;<a href="http://t1.hypercube.telascience.org/cgi-bin/landsat7">http://t1.hypercube.telascience.org/cgi-bin/landsat7</a>&quot;, <br>                {layers: &quot;landsat7&quot;});<br><br>            map.addLayer(jpl_wms);<br>

            map.addControl(new OpenLayers.Control.LayerSwitcher());<br>            <br>            var overview1 = new OpenLayers.Control.OverviewMap({Layers: graphic});<br>            map.addControl(overview1);<br>            map.zoomToMaxExtent();<br>

        }<br>    &lt;/script&gt;<br>  &lt;/head&gt;<br>  &lt;body onload=&quot;init()&quot;&gt;<br>    &lt;h1 id=&quot;title&quot;&gt;OverviewMap with Image Layer Example&lt;/h1&gt;<br><br>    &lt;div id=&quot;map&quot; class=&quot;smallmap&quot;&gt;&lt;/div&gt;<br>

  &lt;/body&gt;<br>&lt;/html&gt;<br><br><br><br><br><div class="gmail_quote">On Fri, May 15, 2009 at 12:03 AM, Jean-Daniel JDG. GONON <span dir="ltr">&lt;<a href="mailto:jdg@geosphere.fr">jdg@geosphere.fr</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">









<div link="blue" vlink="blue" lang="FR">

<div>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">Hi</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"> </span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">As I said in my last
mail, I want to display a .JPG image in an OverviewMap control.</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"> </span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">I view these sites
(<a href="http://workshops.opengeo.org/openlay.../controls.html" target="_blank">http://workshops.opengeo.org/openlay.../controls.html</a> ,
<a href="http://trac.openlayers.org/wiki/Control/OverviewMap" target="_blank">http://trac.openlayers.org/wiki/Control/OverviewMap</a> ) to help me.</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"> </span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">To to this display, I
have this code :</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"> </span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">Creation of the image
layer to display in the overviewMap control :</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">minimapImgLayer = new
OpenLayers.Layer.Image(&#39;ImageLayer&#39;,</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">    &#39;C:/ms4w/minicarte/reference.jpg&#39;,</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">    new
OpenLayers.Bounds(937134.75,281924.76,942621,287411.01),</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">    new
OpenLayers.Size(&#39;150&#39;, &#39;150&#39;),</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">    {numZoomLevels: &#39;1&#39;,
alwaysInRange: true});</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"> </span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">Creation of the main map
with OverviewMap control :</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">ol_Map = new OpenLayers.Map(&#39;viewport&#39;,
{</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">    controls: [ol_miniMap
= new OpenLayers.Control.OverviewMap( {</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">        layers:[minimapImgLayer],</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">        size: new
OpenLayers.Size(&#39;150&#39;,&#39;150&#39;)</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">        } )],</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">    maxExtent: new
OpenLayers.Bounds(937134.75,281924.76,942621,287411.01),</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">    scales:
[25000,10000,5000,2500,1000],</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">    maxResolution: &#39;96&#39;,</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">    units: &#39;m&#39;,</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">    i: &#39;JPEG&#39;,</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">    tileSize: new
OpenLayers.Size(&#39;400&#39;,&#39;400&#39;),</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">    projection:
&#39;init=epsg:27562&#39;</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">    }, numZoomLevels =
&#39;5&#39;);</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"> </span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">Creation of KaMap layer
for the main map :</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">KaMapLayer = new
OpenLayers.Layer.KaMap( &#39;Couche_KaMap&#39;,</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">    &#39;<a href="http://localhost/kernel/myKaTile.php" target="_blank">http://localhost/kernel/myKaTile.php</a>&#39;,</span></font></p>



<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">    { map:
&#39;Couche_KaMap&#39;,</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">    qId:&#39;-1&#39;,</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">    i: &#39;JPEG&#39;,</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">    </span></font><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">la:&#39;Couche0,Couche1,Couche2,Couche3,Couche4&#39;</span></font></p>



<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">    </span></font><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">});</span></font></p>



<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">   
ol_Map.addLayer(KaMapLayer);</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">   
ol_Map.zoomToMaxExtent();</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"> </span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">The main map is displayed
correctely.</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">But nothing is displayed
in OverviewMap control.</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"> </span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">Is somebody has an idea
to help me ? ?</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"> </span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">Thank you !!</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">JDG</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p></div></div></blockquote></div><br><br clear="all"><br>-- <br>Li XinGang<br>EMail: <a href="mailto:slinavlee@gmail.com">slinavlee@gmail.com</a><br>

Blog:   <a href="http://avlee.cnblogs.com">avlee.cnblogs.com</a><br>Site:    <a href="http://www.mapboost.org">www.mapboost.org</a><br>