473,320 Members | 2,164 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Image thing question

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
Nov 19 '05 #1
5 1100
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.
"Rudy" <Ru**@discussions.microsoft.com> wrote in message
news:59**********************************@microsof t.com...
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

Nov 19 '05 #2
Here's an example that returns thumbnails from a handler. All you'd need
to do is make the <a> element add a target=_new or _blank to popup a new
window.

http://staff.develop.com/ballen/blog...8-9aff48bf2481

-Brock
DevelopMentor
http://staff.develop.com/ballen
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


Nov 19 '05 #3
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
"Brock Allen" wrote:
Here's an example that returns thumbnails from a handler. All you'd need
to do is make the <a> element add a target=_new or _blank to popup a new
window.

http://staff.develop.com/ballen/blog...8-9aff48bf2481

-Brock
DevelopMentor
http://staff.develop.com/ballen
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


Nov 19 '05 #4
Then Rudy try changing to Hyperlink or use Href to get the POPUP stuff
as Scott adviced.
Patrick
*** Sent via Developersdex http://www.developersdex.com ***
Nov 19 '05 #5
> 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

Nov 19 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Randell D. | last post by:
Folks, I'm still learning javascript - I've invested in a couple of books and reading online as much as possible. I'm pretty sure what I am suggesting is possible though I'm trying to weigh up...
21
by: DraguVaso | last post by:
Hi, I have an inherited DataGrid, that does lots of extra stuff. For exemple drawing a backgroundimage in every cell. The problem is that it's taking too much time (using gdi+), so I want to do...
2
by: sandman | last post by:
Is this a one-time deal? Or something you want to do programmatically? If it's a one-time thing (e.g. to create a bitmap that you can then use in your program), just press Print-Screen, then load...
3
by: ACaunter | last post by:
Hi there, I was wondering how i could have a slider bar or something on my ASP.Net page to control the image quality.. like change it's sharpness, brightness, and contrast?? is that possible??...
35
by: Stan Sainte-Rose | last post by:
Hi, What is the better way to save image into a database ? Just save the path into a field or save the image itself ? I have 20 000 images (~ 10/12 Ko per image ) to save. Stan
5
by: Diomatas | last post by:
Hi I ve got a class with some public properties and one of them is of type image. I use these properties in a propertygrid. When the user press the little button into the propertygrid, an open...
12
by: Lance | last post by:
hey all, first time vb.net 2005 user, after sticking vb6 out for a long time... anyway, using this code ====================== Dim FS As FileStream = File.OpenRead(Filename) Dim theImage As...
3
by: ZyRaIN | last post by:
Hi Guys, Totally new to this html / javascript thing so haven't got a clue how I'm gonna to this - but hope to get some help here. I've got a page with 2 frames one called "left" another one...
6
by: David Stone | last post by:
I have a simple question about the alt content of area elements within an image map: is it redundant to include phrases such as "link to..." or "jump to..."? My initial thought is 'yes', since...
21
by: DP | last post by:
Hi, I'm not sure if this is the right group to ask. I am developing a small image library and I don't know how to hide the actual path to the image. So I go to the stock photo library websites...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.