Firefox image resizing driving me mad
November 24, 2004 11:55 AM
Subscribe
FireFox filter. This is driving me mad. My website has a little JavaScript (inside) to drag in a random image. Each image is 150 wide (varying heights). IE displays them fine. Firefox 1.0 resizes certain images. Anyone know why?
The JavaScript specifies the width (but not the height as each image is different):
var choice = pickRandom(range);
document.writeln('<a href="about.htm"><img src="images/bl'+choice+'.jpg"
class="randompic" width="150" alt="blah"></a>');
It's easy to see the browser re-sizes them as it has that wierd pixellated quality that browser-resized images have (+it spills out of the containing div).
The images are at the
bottom of the yellow side-bar (self-link, sorry); refreshing the page brings new ones. I've checked Bugzilla, but can't help feeling that I'm going mad ...
posted by Pericles to computers & internet (8 comments total)
posted by C.Batt at 12:23 PM on November 24, 2004