PDA

View Full Version : img hug script - various sizes


bazz
08-10-2003, 03:59 AM
HI,

I cant seem to find a script that will enable the hugging of images where they are of different sizes. I have the one where the dimensions are required for each but that won't suit my application.

Any pointers?

bazz

Oops, that doesnt explain it very well.
I have a dynamic page that will always have three thumbnails on it and one larger image. When you click the images, they open a new window to display a larger version but the images are of different sizes and I want the window to hug them.

I have the script that requires the dimensions of the larger images to be inserted but this wont suit my application. My dynamic page is 'skeletal' so whilst all the places of accommodation have the same series of thumbnails, their respective larger images are of different sizes and I need one script to apply to them all.

Hope thats clearer :)

beetle
08-10-2003, 05:17 AM
Ya, Skyzyx (http://www.codingforums.com/member.php?s=&action=getinfo&userid=2090) and myself cooked one up (http://host44.ipowerweb.com/~skyzyxco/scripts/imagepop.htm) a while ago.

Enjoy :D

bazz
08-13-2003, 12:30 PM
Aw excelent Beetle. it does exactly what I want it to, hug the image of any soze and display it in the centre of the browser.

:thumbsup: