Hi, that's what I use
var imageLayer = new OpenLayers.Layer.Image("Title", imageUrl, new OpenLayers.Bounds(lon0, lat0, lon1, lat1), new OpenLayers.Size(100,100), { isBaseLayer:false, resolutions:map.layers[0].resolutions, maxResolution : map.layers[0].resolutions[0] } ) as far as I know, OpenLayers.Size has no effect, but use the size of the image. Arnd -----Ursprüngliche Nachricht----- Von: users-boun...@openlayers.org [mailto:users-boun...@openlayers.org] Im Auftrag von Tpi Gesendet: Mittwoch, 11. August 2010 13:18 An: users@openlayers.org Betreff: Re: [OpenLayers-Users] Displaying images even at the edgeof the screen Again thanks for bothering to reply, I know I'm not be the most experienced with OpenLayers yet, so it might be beginner questions. I've been trying to use Layer.Image, but I can't figure out how to place it correctly, that's why I've used a point feature, since I can just place it on a LonLat and make the externalGraphic be centered there. Is there any way of centering an image on a LonLat with an image layer? -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Displaying-images-even-at-the-edge-of -the-screen-tp5329187p5411844.html Sent from the OpenLayers Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users _______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users