Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Override Automatic Image Resizing

Status
Not open for further replies.

zeuseason

Technical User
Nov 1, 2003
18
US
Is there a way to override Internet Explorer's Automatic Image Resizing feature in html code? I have an image that is viewed quite often and I need it to be viewed at full scale all the time. Any help is appreciated.
 
Unfortunately, the only thing that you can do is advise the user that they need to turn that option off (and maybe have a little FAQ as to how to do it).

Security regulations prevent you from modifying any settings on the client browser.

-----------------------------------------------
"The night sky over the planet Krikkit is the least interesting sight in the entire universe."
-Hitch Hiker's Guide To The Galaxy
 
Um, no..
Code:
<img src="someimage.jpg" galleryimg="no">
 
Does it really re-size your image when viewed on an HTML page? My understanding is that if you point your browser diectly at a big image, e.g. by following a link like this:
Code:
<a href="images/mybigimage.jpg">View image</a>
IE6 might re-size the resulting page if it thinks it's too big, and the browser settings allow it to. I suspect AtomicChip's right about this being outside your control.

If you're displaying the image in an HTML page:
Code:
<img src="images/mybigimage.jpg" height="1000" width="1000"/>
then IE6 shouldn't interfere with it, especially with the height & width attributes specified explicitly. It may, however, add its irritating "image toolbar". You can supress this with Supra's [tt]galleryimg[/tt] property, or (to do it for all images on the page) add this to the <head> section:
Code:
<meta http-equiv="imagetoolbar" content="no">

-- Chris Hunt
 
I originally had just a direct link to the picture opening in a new window. I setup each picture as a html now so all is good. Thanks for you help and insight!
 
Sorry... (late post)...

I misunderstood your question (duuhh).

Wow. I feel dumb :p

-----------------------------------------------
"The night sky over the planet Krikkit is the least interesting sight in the entire universe."
-Hitch Hiker's Guide To The Galaxy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top