Use of esri.layers.MapImageLayer in ArcGIS API for Javascript

Discussion created by graber on Oct 5, 2011
Latest reply on Oct 5, 2011 by graber
I see this topic has been posted before with no response:

So I will try to be a bit more specific.  I have an series of static PNG images that are georeferenced that I want to show on the map.  Is MapImageLayer the best way to do this and how is to be done.  I have tried something like this:

var mol = new esri.layers.MapImageLayer({id:"cwlayer", opacity:0.7});
mol.addImage({extent:newextent, height:h, href:imagelocation, scale:1, width:h})

Does anyone have an idea how to do this (without or without using this method).  Basically I just want to place an image on the map and pretend it is a layer.  Trying to migrate some code from Openlayers.