Solved

Why are my images so blurry in IE10?

Posted on 2013-06-16
7
1,898 Views
Last Modified: 2013-11-19
** This demonstration of the problem may not work if you are viewing this in IE10 as that is where the problem lies.

I am finishing up my website design and I notice that any smaller images (such as my corporate headshot), are VERY blurry in IE10 while they are crystal clear in Firefox.  Weird.

What gives?

Is there something I can set in the code to fix this?

Here are screenshots of both images for comparison:

IE10:  IE10 Screenshot
Firefox:  Firefox Screenshot
These are both based upon the same image file.  As you can see, the quality of the IE10 image is completely unacceptable.  I tried .png and .bmp, same problem.
0
Comment
Question by:MitchellVII
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
7 Comments
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 39251376
We would have to see the html and css being used. If you are allowing the browser to size the images, you will always get poor rendering in some or all browsers.  Plus the browsers do not necessarily interpret the code the same.  Using .bmp on a webpage is never a good idea.  The best for optimum quality cross-browser .jpg

In general IE rendering has always been inferior to other browsers.

Cd&
0
 
LVL 5

Author Comment

by:MitchellVII
ID: 39251404
Ok, have done a bit more research and have stumbled across a weird solution.

If I put the image into the HTML using the correct dimensions, like so:

<img alt="" src="images/web_mitchellbill_team_med2.jpg" style="float:left;height:122px;width:86px;margin-left:0px;margin-top:1px;margin-right:5px;margin-bottom:0px">

then Firefox renders properly and IE 10 renders blurry.

However, if I increase the image height and width by just one pixel like so:

<img alt="" src="images/web_mitchellbill_team_med2.jpg" style="float:left;height:123px;width:87px;margin-left:0px;margin-top:1px;margin-right:5px;margin-bottom:0px">

the IE 10 renders properly and Firefox renders blurry.

Weird.

If I leave any dimensions out completely, Firefox is clear and IE 10 is blurry.
0
 
LVL 58

Expert Comment

by:Gary
ID: 39251417
Is that a real screenshot with the light gray border?
The images are not the same size. The FF image is larger with a smaller border. But overall is still smaller.
0
MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

 
LVL 58

Expert Comment

by:Gary
ID: 39251421
What doctype are you using?
0
 
LVL 53

Accepted Solution

by:
COBOLdinosaur earned 500 total points
ID: 39251423
You can always use the IE hack to get around it.  Code the regular setting in the style sheet the inline right before the image insert

<!--[if IE]>
	<style> style entry overrides here ... </style>
	<![endif]-->

Open in new window


It is a hack that Microsoft had to put in way back in the IE5 days to deal with the bugs that every IE browser has had to deal with.  Al browsers except IE treat the format as a comment, so only IE will render using the stuff in the style tag.

Cd&
0
 
LVL 5

Author Comment

by:MitchellVII
ID: 39251445
Thanks,

Figured it out.  I am running this on a Surface Pro with an external monitor at 125% zoom.  It is the weird zoom factor that was making images in IE look strange.  When I went to 100% zoom everything was fine.

Strange.

Will give you credit for the answer as what you have suggested would work.
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 39251907
Oh yet another bug in IE10?  The zoom is supposed to rescale without distortion according to the spec.  However no expects IE to be to spec...

Cd&
0

Featured Post

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
Add visuals to your Prezi to keep your audience engaged. Learn how to embed images, edit them, and more in this video micro tutorial. Select "Insert" from the top menu in your Prezi editor: Select "Image": A toolbar will pop in from the right …
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question