View Full Version : Image size adjusting my templates
03-04-2005, 04:58 AM
If my image width is the same and the height changes it moves my template around slightly. I can't figure it out??
Also if I go from my main page and click on the archives it also adjusts
Any help would be appriciated I am at a loss
03-04-2005, 05:48 AM
that's purly an HTML question. ask HTML experts here;)
03-04-2005, 06:52 AM
image widht the same as what?
I do not understand really what you mean..
but the situation is that the script in the moment does not provide the width and height property from the image
so you have a problem in the situation when the template
- gives a fixed width and height in the img-tag
- or when there are no image- and width- information at all, then the browser must recalculate the size and this
sometimes provoces a jump...
I plan and hope that the next release will deliver the real image information of the photos
03-04-2005, 02:41 PM
As far as the width is the same.
I will post all images at 590px but the height will varry.
03-04-2005, 03:29 PM
that is normal, because:
when a new website is loaded (and every click to see another image means loading a new website) the browser has to calculate the size of the image because the template does not give the dimension of the image
so you don't see this horizontally as all images have the same widht but you see the difference in heigth....
you have a problem. But this problem exists in real life as well:
if all chocolate bars have the same widht but different lengths, you must swallow differently .... :wink:
well, for the first moment I would suggest to concentrate on the same image dimensions for all images or accept that the web pages load a little bit differently...
with the next version of Pixelpost.... well we will find out :lol:
03-04-2005, 06:20 PM
Thanks for you reply.
I accept the height difference this I undestand.
It is the width I am wondering about? If I always upload the same size (demension) in width I should not see a re-size in (width) change. The only size change I should see is in the height. Right?
If you look at todays image compared to the day before you will notice this.
Maybe I am not being clear?
03-04-2005, 06:38 PM
Hi! I opened your site in OPERA and the width is ok, I see no variation
which browser do you use?
well if an image has not width and heigth at all, then the browser will open the file, try to get the size and show it, how they behave doing this can change, I suppose..
let me know which browser and operation system you use
03-04-2005, 06:45 PM
I am on a mac OSX
I have tried it on firefox, IE and safari and I get the same result. at least that is consistent.
I notice it the most at the top of the page in the navigation.
If I go back to March 2 and then click to March 3 I see the whole page re-load slightly to the right almost like it is off center by 10-15 pixels
03-04-2005, 08:40 PM
sorry if this is a naive answer, but i'm going to start from the obvious since, in my browsers, there's no difference in the width of your template as you're describing it. HOWEVER, what i do notice is the the scrollbar is added when your longer images exceeds the height of the browser, shifting your whole page to the left. but when the browser is sufficiently expanded, everything's hunky-dory.
03-04-2005, 08:42 PM
that could be an explanation because the scrollbar takes 15 to 20 pixels...
03-04-2005, 08:46 PM
I think you may be right? I can't expand that far but I might try a test to see if that is it. I never even thought! Thanks for the help.
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.