Saturday, May 23, 2009

Using split to prevent the browser from resizing an image

Someone asked me if YubNub can be used to prevent the browser from resizing a large image to fit the window, such as http://img.photobucket.com/albums/v126/Katmo/Graphcopy.jpg?t=1243143459.

It turns out that the split command can do this: split http://img.photobucket.com/albums/v126/Katmo/Graphcopy.jpg?t=1243143459 will display the image at its original size. This works in IE7 and Chrome, but not Firefox 3.

3 Comments:

Anonymous Anonymous said...

Good to know. Admittedly I haven't used the other browsers in awhile and prefer how Firefox forces an image to fit. When you can't make out what's in the picture, though, a mouse click zooms you all the way in. Sometimes I use the "Ctrl +/-" shortcut to zoom in or out gradually too.

5/25/2009 9:34 a.m.  
Blogger Unknown said...

If you do not like Firefox automatically resizing images to fit the window, then this option can be disabled. Simply:

1> Type 'about:config' in the address bar

2> Search for the option 'browser.enable_automatic_image_resizing', and change its value to 'false'.

Source: http://txpress.blogspot.com/2006/11/disable-automatic-image-resizing-in.html

1/20/2010 3:11 p.m.  
Blogger Jonathan said...

Thanks David.

1/20/2010 6:36 p.m.  

Post a Comment

<< Home