first you will need to get the actual size of the image. best time to do
this is when you upload the image (keep info in a database so that you don't
have to extract it every time a page is displayed). If you know the size at
that time use it. otherwise see
http://www.aspfaq.com/show.asp?id=2170 for
info about extracting size.
Embed the size in your window.open statement (in the client-side code you
generate) for each thumbnail link.
--
Mark Schupp
"Jake" <sp******@alltel.net> wrote in message
news:Os**************@TK2MSFTNGP12.phx.gbl...
Hi,
I have a page with a bunch of thumbnails that when clicked, open the full
size image in a new window. They are all different sizes and its a bit
unprofessional looking. I'd like to find a component or script that will
detect the size of the linked image and create a popup correctly sized to
the image. Would have no toolbar, buttons,scrolling, etc. Just a clean,
correctly sized window.
Any way to do this?
TIA