<div>I have the following entry in TileCache</div>
<div><font size="2"></font>&nbsp;</div>
<blockquote dir="ltr" style="MARGIN-RIGHT: 0px">
<div><font size="2">[MyImage]<br>type=ImageLayer<br>file=C:\\Inetpub\\wwwroot\\tilecache\\tilecache-1.9\\92B05.png<br>filebounds=-123.974436,48.487998,-123.700692,48.265073</font></div>
<div><font size="2"></font>&nbsp;</div></blockquote>
<div><font size="2">Then in openlayers I have the following:</font></div>
<div><font size="2"></font>&nbsp;</div>
<blockquote dir="ltr" style="MARGIN-RIGHT: 0px">
<div><font size="2">map = new OpenLayers.Map(&#39;map&#39;);<br>baseLayer = new OpenLayers.Layer.WMS( &quot;VMap0&quot;, <br>&nbsp;&nbsp;&nbsp; &quot;tilecache.cgi?&quot;, {layers: &#39;2&#39;, format: &#39;image/gif&#39; } );<br>&nbsp;&nbsp;&nbsp; baseLayer.addOptions
({ isBaseLayer : true });<br>map.addLayer(baseLayer);<br>&nbsp;&nbsp;&nbsp;<br>var bounds = new OpenLayers.Bounds(-123.974436,48.487998,-123.700692,48.265073); <br>layer = new OpenLayers.Layer.WMS( &quot;MyImage&quot;, <br>&nbsp;&nbsp;&nbsp;&nbsp; &quot;tilecache.cgi
?&quot;, <br>&nbsp;&nbsp;&nbsp;&nbsp; {layers: &#39;MyImage&#39;, <br>&nbsp;format: &#39;image/png&#39;,<br>&nbsp;transparent: &#39;TRUE&#39;},<br>&nbsp;{maxExtent: bounds,<br>&nbsp;visibility: true}); <br>map.addLayer(layer);<br>map.zoomToExtent(bounds);</font>
</div>
<div>&nbsp;</div></blockquote>
<div dir="ltr">The base layer shows up just like it should.&nbsp; The imagelayer does not show up and is full of pink.&nbsp; It will show up if I take the filebounds entry out of the configuration which tells me the path to the image is good&nbsp;but then it does not represent the area it should it represents the default of &quot;-180,-90,180,90&quot;.&nbsp; If I take the URL out of the rendered page the error returned is 
<h1>CGI Error</h1>The specified CGI application misbehaved by not returning a complete set of HTTP headers.</div>
<div dir="ltr">&nbsp;</div>
<div dir="ltr">From what I can tell the url&nbsp;is requesting lat/lon coordinates that are out of bounds for this image.&nbsp; Again I think the maxextent should prevent the layer from requesting anything from the service.&nbsp; </div>

<div dir="ltr">&nbsp;</div>
<div dir="ltr">What am I doing wrong?</div>
<div dir="ltr">&nbsp;</div>
<div dir="ltr">Thanks,</div>
<div dir="ltr">Linda Rawson</div>
<blockquote dir="ltr" style="MARGIN-RIGHT: 0px">
<div><font size="2">&nbsp;</font></div></blockquote>