Forum Moderators: open
Internet explorer automatically rescales them to fit the screen, when a visitor opens the image from a link.
Both I and my visitors find that extremely annoying. Opera (THE browser for me) for example does not do this.
Is there a script I could use to stop Internet Explorer from rescaling images?
"This turns off Internet Explorer's image toolbar that appears when you hover over an image. An example of the toolbar is shown to the left. This bar allows a surfer to save, print or email and image, or open the "My Pictures" folder.
Can anybody come with another solution?
The page I linked to above has one intriguing statement on the issue:
Automatic Image Resizing works only when users navigate directly
to pictures. Internet Explorer cannot resize pictures that are
embedded within HTML pages.
I'm not sure exactly what they mean here - not likely they are literally talking about the <embed> tag! Try putting the images in a table cell, even if the table has only one cell.
This sounded great and simple and I was ready to implement.
After giving some though I realized that this would mean that I will also lose all my visitors from image search engines. The explication is not important; the problem comes from the design of my site.
Isn't there a simpler solution for this? I spent hours today searching for some kind of wonder script, but no luck so far...
... I realized that this would mean that I will also lose all my visitors from image search engines - malasorte
One option is to use <a href="pic1.jpg">link text</a>
The pic will open in new window so resizing won't interfere with your layout, and the image search engine will find the file reference the same place it did before so you shouldn't loose traffic (tested in IE and Firefox.)