Log in

View Full Version : Problem displaying full-size images...



AndrewS
02-12-2008, 01:34 PM
Hello

I've been using the following HTML to display a full-size image by clicking on a thumbnail of the image in a table:


<td style="width: 131px; text-align: center;"><a
href="link to original image"><img
style="border: 0px solid ; width: 128px; height: 98px;"
alt="alternate text"
src="link to thumbnail"></a><br>
</td>

The problem I have is inconsistent behaviour when clicking the thumbnail. Sometimes I get an image that fills the height of the screen (which is what I want), sometimes I get a very large image, and sometimes I get a very large image which then re-sizes to the one I want. this is as far as I can see unpredictable, it happens in Firefox, Opera and IE7, and with FF/O it happens in Ubuntu Linux and Windows XP.

Any help would be appreciated.

TIA

Andrew

BLiZZaRD
02-12-2008, 06:31 PM
Sounds like a problem with the images, not the browsers. The ones that work right are a good size, the ones that don't are too big for one browser window. When a browser (all of them as I recall) encounters an image to display that is larger than the view pane it auto-resizes (with aspect ratio) to fit either the height or the width of the browser, or both, and will then change the cursor to a magnifying glass when moused over.

Scale down the size of the large images to fit browsers without being auto-scaled and the problem should vanish.

AndrewS
02-13-2008, 10:55 AM
Many thanks, that makes sense.

Andrew