Image thing question

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello all!

I have a quick question. How can you take a thumbnail pic, and click on it
to make a bigger size on the same page. Like EBAY does with their stuff, many
thumbnails, then a window to enlarge the pic.

Many Thanks!!!!

Rudy
 
It's just a link to a JavaScript that uses window.open() and passes the name
of a larger version of the first image. Not a .NET thing.
 
Hi Brock!

I'm undestand the A ref thing. But I'm pulling my images from SQL likes so.

<asp:Image id=Image1 runat="server" Height="194px" ImageAlign="Middle"
src='<%# Container.DataItem ("filePath") %>'

So I would I put that in my <a href> line of code?

Thanks!

Rudy
 
Then Rudy try changing to Hyperlink or use Href to get the POPUP stuff
as Scott adviced.
Patrick
 
So I would I put that in my <a href> line of code?

The <a> in my sample code was simply to let the user click to see the full
sized image. Since your <asp:Image> is already showing the full sized image,
then I'd imagine you'd not need the <a>.

-Brock
DevelopMentor
http://staff.develop.com/ballen
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top