Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Problems showing images with IE9 and SmartClient_v83d_2012-11-06

    Hi Isomorphic,

    the following code does not display the wikipedia logo properly in IE9. But it works wit Firefox and Chrome.

    How can the image be displayed correctly with IE9?

    Greetings Thomas

    Code:
    <!DOCTYPE html>
    <HTML>
     <HEAD>
      <SCRIPT>var isomorphicDir="/isomorphic/";</SCRIPT>
      <SCRIPT SRC=/isomorphic/system/modules/ISC_Core.js></SCRIPT>
      <SCRIPT SRC=/isomorphic/system/modules/ISC_Foundation.js></SCRIPT>
      <SCRIPT SRC=/isomorphic/system/modules/ISC_Containers.js></SCRIPT>
      <SCRIPT SRC=/isomorphic/system/modules/ISC_Forms.js></SCRIPT>
      <SCRIPT SRC=/isomorphic/system/modules/ISC_DataBinding.js></SCRIPT>
      <SCRIPT SRC=/isomorphic/skins/Enterprise/load_skin.js></SCRIPT>
      </HEAD>
     <BODY>
    <SCRIPT>
    isc.VLayout.create({
    	id: "drawPaneLayout",
    	showEdges: true,
    	height: 400,
    	width: 400,
    	members: [
    		isc.Img.create({
    			"src":"http://upload.wikimedia.org/wikipedia/commons/6/63/Wikipedia-logo.png",
                "imageType":"center"
             }),
    	]
    });
    </SCRIPT>
    </BODY>
    </HTML>

    #2
    Any hint how to show an an Img in a VLayout with IE9?

    Comment


      #3
      Due to worksarounds necessary to display PNGs correctly in older IE, we cannot automatically size a PNG to it's "natural size". You can specify imageWidth and imageHeight to get around this.

      Comment

      Working...
      X