How do you do georeferencing of an image with ESRI so that you can properly orient a picture on the map using ESRI javascript functionality?
In 3.x you can use MapImageLayer, like this.