Get around automatic image size reduction by browsers

  • Been Told
  • Newbie
  • Newbie
  • Been Told
  • Posts: 9

Post 3+ Months Ago

Hi everyone!
I have a problem and that is, I have a link to an image on a client's website that opens a new window (just the normal <a href="blabla.jpg" target="_blank">bla bla</a> stuff).
Now the image is 1200 x 1000 pixels, so most browsers will automatically resize the image to fit the screen and you have to click it again to view it in its full size. And my client doesn't want that.
I did promise to see if there is a way of getting around that - so that is my question.
Is there a way to get around that? Possibly with JavaScript???

Thanks in advance for any tips or hints.
  • casablanca
  • Proficient
  • Proficient
  • User avatar
  • Posts: 481

Post 3+ Months Ago

I don't think a website can order the browser to do so. However, there are browser settings to permanently disable automatic image resizing.

For IE: Internet Options > Advanced > Multimedia > Enable automatic image resizing

For Firefox: Type about:config in the address bar, look for an option named browser.enable_automatic_image_resizing and set it to false.
  • Been Told
  • Newbie
  • Newbie
  • Been Told
  • Posts: 9

Post 3+ Months Ago

Oh well, too bad. :( Thanks for the information. :)
  • casablanca
  • Proficient
  • Proficient
  • User avatar
  • Posts: 481

Post 3+ Months Ago

Hmm.. I just thought of another way around. Instead of directly linking to the image, like <a href="blah.jpg">, if you create a dummy page with the image in it, like <img src="blah.jpg" />, it won't get resized. That might be a better solution.
  • Been Told
  • Newbie
  • Newbie
  • Been Told
  • Posts: 9

Post 3+ Months Ago

OMG I can't believe I didn't think of this! It's so obvious!LOL
Thanks again - awesome! :)

Post Information

  • Total Posts in this topic: 5 posts
  • Users browsing this forum: No registered users and 20 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.