technophile":2n81m3cz said:
From that page:
About Image Size Variation
If you place the first image in your page source and include height and width attributes in the image tag, subsequent images not that size will be resized to fit those height/width specifications. If you do not include height and width attributes, current browsers will display the images at their actual sizes and reflow page content as needed. You can set width and height on a containing element large enough to accomodate the largest image to be rotated in to avoid document reflow.
Just set either a height or width (but not both) on the original img tag and all the images will be resized (keeping their original aspect ratio) to fit that size.
yes, but I'm back to the original problem or setting the appropriate size dynamically when the slideshow changes from one where the width needs to be 100 and the next where the width needs to be 150.
because they're really the same size image turned 90% for vertical and I want them to stay that way
I can do this fine in php for static images but not javascript. partially because there's a bug is firefox for javascript still...
thus I'm looking for a slideshow script with hard coded image sizes per image. does anyone know of this? there's too many different slideshow scripts out there to dig through that are junk from 2002 and the terms are too common for good googling
I would like it if someone could show me how to edit that code I linked to set the size using javascript so that the size changes with each new image loaded