AnsweredAssumed Answered

InfoWindow shows thumbnail in FF but not IE

Question asked by geonetadmin on Mar 13, 2012
Latest reply on Mar 15, 2012 by geonetadmin
Original User: doerr@usgs.gov

I have graphics on a map that when clicked will pop up an InfoWindow containing a title and a thumbnail image.  However the thumbnail only appears in FF.  It doesn't appear in IE8 or IE9.
Here's the code:
////////////////////////////////////////////////
                        var iconUrl = dojo.moduleUrl("com.esri.solutions.jsviewer", "assets/images/icons/i_pushpin.png").path;
                               
                        var smallIconUrl = com.esri.solutions.jsviewer.util.getSmallIcon(iconUrl);
                               
          
                        var pms = new esri.symbol.PictureMarkerSymbol(smallIconUrl,20, 20);



                        var point = new esri.geometry.Point(xVal, yVal, this.srWGS84);
                       
   var title = item.prodname;
                       //example item.browseURL = 'http://tdds.cr.usgs.gov/browse/ortho/14R/NT/14RNT430640_200301_0x1500m_CL.jpg'
   var content =  item.tileName + "<br/><img width='200' height='200' src='" + item.browseUrl + "'/>";

   var attrs = {
    "title": title,
    "content": content
   };




   var orthoTileInfo = new esri.Graphic(point, pms, attrs);

                        this.map.graphics.add(orthoTileInfo);
///////////////////////////////////////////////////////////////////////////

I'm using ArcGIS JS API 2.3

Any ideas?

I've attached screenshots from each browser.

Attachments

Outcomes