View Full Version : getting an image to load into same table


iceprincess04
06-16-2003, 06:36 PM
I am trying to link my images for my webpage as a sort of photoalbum. Basically what my problem is that when I load the thumbnail onto the page and link it to the larger version of the image, the new larger image loads onto what looks like a new window. I want it to load into my same table. And I can't seem to figure out what is going wrong.

The site is www.foreveraugust.com and then go to Le Photos.

Oh and on a side note, do you know of any good scripts or ideas for a photo album that wouldn't require my visitors to constantly hit the back button and such?

Thanks for any help!

~Jessi

MaGiCSuN
06-17-2003, 10:29 AM
you can't, you should use iframes for that. Becuase you don't load different pages into a cell from a table.

So you could use something like this:

<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0><TR><TD> <a href="largeimageurl.gif" target="NAMEIFRAMEHERE"><img src="thumbnail.gif" border="0"></a></TD><TD><iframe name="NAMEIFRAMEHERE" height="#" width="#" frameborder="0"></iframe></TD></TR></TABLE>

then you load the new page into the iframe that is exactly in the cell of the table. To make this happen for all the images i would say to use one iframe for all the thumbnails and put the thumbnails on the side of it so that people can click them

Love,
Mirna

iceprincess04
06-17-2003, 08:08 PM
mirna,
thanks! but i'm thinking that might be too cramped since i have over 60 photos for just that one album...

what about if i made a seperate pop-up window for them. i tried to do that but for some reason i couldn't control the size.

here's what i would write but then get stuck at.

"<a href=javascript:location='http://www.foreveraugust.com/websitephotos/pskformal/main.html'; window.open('http://www.foreveraugust.com/websitephotos/pictureviewer.html', 'various photos','height=500, width=400, scrollbars=no')"><img src="whatever image i wanted" border="0"></a>

ok so then i go and make pictureviewer.html but how will the thumbnail show up so that they can click and get that specific picture (but larger) into the pictureviewer.html file? am i making any sense?

~jessi

Please have a look at the rules- advertising (including in signatures) is not allowed :)
-Moderator

MaGiCSuN
06-18-2003, 12:53 PM
You don't need to put them all on pages, you can just target the image itself

so the only thing you make extra is the one iframe, the rest is just the same (thumbnails and normal pictures)

Love,
Mrina