View Full Version : image is wrong size when viewing with IE
Anonymous
11-14-2004, 02:13 PM
Ok,
forgive me, as i'm totally new..
Everything is working fine and looks great with firefox. When I look at my page with IE 6, the main photo hangs outside of the borders, and the thumbnails are all squished together with no space between. Why?? (other than the fact that IE sucks... ) Photos are sized at 600px wide in photoshop before i upload them.
Thanx.
Jodi
Anonymous
11-14-2004, 02:18 PM
sorry... forgot to mention that i'm referring to the 'pixelpost - light' template.
Connie
11-14-2004, 03:31 PM
Jodi,
could you tell me the URL of your gallery to have a look?
I am not a IE expert (because IE sucks), but I would like to see the effect before I ponder about possible reasons... :o
Connie,
My site in the making is temporarily posted here. (http://216.126.80.94:8080)
Thanks!
Jodi
Connie
11-15-2004, 05:31 AM
this evening, must go to work...
Connie
11-15-2004, 07:38 PM
I think the reason for the unsatisfying presentation of the thumbnails is that the generated HTML-Code does not contain html-image-attributes,
<img src='thumbnails/thumb_water.jpg' alt='. ..water-marks.. .' title='. ..water-marks.. .' class='thumbnails' />
instead of
<img src='thumbnails/thumb_water.jpg' alt='. ..water-marks.. .' title='. ..water-marks.. .' width='50' height='36' class='thumbnails' />
but to change this, these values must be read from the configuration table
select thumbwidth,thumbheight from ".$pixelpost_db_prefix."config");
I tested locally with width- and height-attributes added and the IE showed it much better, but still he ignored the CSS-value for padding
so I think it would be better if the generated code would contain these attributes, but I can't help you with IE and CSS, as I do not want to waste my lifetime with this buggy browser :evil:
Connie
11-15-2004, 07:40 PM
another point: if you populate your log with images with different heights or widths the presentation will always be difficult for some reason:
if the general values for width and height are taken from the configuration, thumbnails of images which are not the exact size might be stretched
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.