prevent image scaling for high dpi displays

Y

Yofnik

Hello all,

I need your help. Internet Explorer 6+ has a registry setting (UseHR)
that will automatically scale images for displays with high resolution
(DPI).

I am building a web based monitoring application that has some very
detailed graphs and charts. I DO NOT want these images scaled under any
circumstances. In fact, my graphs look better on high DPI screens when
the are not scaled.

However, as the web app developer, I cannot control the users IE
settings. Is there anyway whatsoever to prevent images from scaling
from within the web application?

You help is greatly appreciated.

Yofnik
 
C

Cowboy \(Gregory A. Beamer\)

Scaling, in IE, occurs when the picture is directly viewed. Embed it in an
HTML table and it wll not scale natively.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com

********************************************
Think outside the box!
********************************************
 
Y

Yofnik

Excellent - I will try that. Thank you.

Does the table need to have height and width set? What about a div,
will that work too?

Thanks.
 
Y

Yofnik

That did not seem to help. Let me provide a little more detail.

I have developed a web based application that shows some very detailed
graphs. On one laptop that has a display set at 96 DPI, the images
look great. On a second laptop that has a DPI setting of 120, the
images are enlarged and the detail looks unattractive. If I change the
UseHR registry setting on the second laptop, the image looks
fantastic, but it is much smaller than the image on the first (96 dpi)
laptop. This is expected because it is fitting more pixels into a
single inch.

What I want to do is FORCE the browser to display the smaller, more
detailed version of the image for my application. I do not know how to
do this without changing the UseHR registry setting - which I
obviously can't do in my ASP.NET application.

Any ideas?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top