How to show a bigger image in a new window?

They have: 12 posts

Joined: Mar 2000

Hi Mr,

I have a list of pictures that is listed on an asp web page from an an access database.

When I click on the little picture, there is a new window that open up and she is suppose to show the bigger picture.

How can I do this?

Thank you for your collaboartion.

Best Regards,

Simon Baillargeon

Simon Baillargeon

Peter J. Boettcher's picture

They have: 812 posts

Joined: Feb 2000

Simon,

I would just add one more field to your database to store the large images/link.
When you pull your list of pictures from your Access database just add this field.

So when you do your original query, something like:

SELECT * FROM Images

ImageSelect = Conn.Execute(SQL)

Then when you do your link:

<A href="<%=ImageSelect("BigImage")%>" target=new>

Once again you will obviously have to substitute all field,table, and variable names with your own.

P.S. Who are you calling Mr.? If it's me, please stop, I feel old enough already!

Regards,
Peter J. Boettcher

PJ | Are we there yet?
pjboettcher.com

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.