What you can do to further customize the map's InfoWindow is to tie the content of the InfoWindow to a DOM object (such as a <div> in your page) instead of using the InfoTemplate.So, for instance, you have this in your init():
myMap.infoWindow.resize(300, 200);
myMap.infoWindow.setContent(dijit.byId("infowinID").domNode);
dojo.connect(myMap.infoWindow, "onShow", function() {
dijit.byId("infowinID").resize();
});
And in your .html file, you have the following:<div id="infowinID" dojoType="dijit.layout.ContentPane" title="Something">
<img src="/your/path/toAnImage.png" alt="asdf" />
</div>
To stop scrollbars from appearing, maybe you'd have something like the following in your CSS:#infowinID {
overflow: hidden;
}
Personally, I find that the InfoTemplate is a quick and easy way to show content inside of an InfoWindow, but you lose a lot of customization as a tradeoff.