not working for png

IE 11 on Win 7 and Win 8

<html><head>
<title>Legacy</title>
<!--  <script type="application/ecmascript" src="/static/Objects/JS/fan.js"></script> -->
    <link href="/static/css/jquery-ui-1.10.3.custom.css" rel="stylesheet">
  <link href="/static/css/CtrlBox.css" rel="stylesheet">
  <script src="/static/Objects/JS/jQuery-1.10.2.js"></script>
  <script src="/static/Objects/JS/jQuery-ui-1.10.3.js"></script>
  <script type="application/ecmascript">
     // -*- mode: Javascript; tab-width: 3; js-indent-level: 3 -*-

// <!-- Revision 0.2.0 2013-11-08 -->


// //////////////////////////////////////////////////////////////
// curLang indicates in which language we will operate in
// 0 = English, 1 =(currently French) index 0 of langtab, 2 =(currently Spanish) index 1 of langtab

// lang



function langTrans(key) {
	return key;
}



  </script>
  <script src="/static/Objects/JS/controlbox.js" type="application/ecmascript"></script>

   <script>
    function fixpage() {
    document.body.innerHTML = '<div id="dialog-modal" style="text-align:center"></div>' + document.body.innerHTML;
    console.log(document.body);
    }
    $(document).ready( fixpage );
   </script>

</head>
<body><div id="dialog-modal" style="text-align: center;"></div>






</body></html>

The problem is the at the end of the file.

On IE11, I get a tiny icon indicating an image should be there, but not  loaded.

On WinPhone8, the image is displayed, but have to scroll around.

image ( 800×640) loads fine on most browsers.

Change the to<img> works, but I need to use .  Don’t ask.

Also, it seems with jpg files works, but png does not.

Please advise.


BDM

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s