473,804 Members | 2,124 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Main image with thumbnails - click to view?

MU
Hello

Can someone give me some ideas on the best way to do the following?

I have a product page and it has 1 large image and 6 thumbnails. The
main image is the first photo from a data table for the product. The
6 thumbnails are the next 6 images for the product from the data
table. I would like the user to click on the thumbnail and that
thumbnail would show in the 1 large image area.

So I use <IMGtags or should I be using the ASP:Image control? Not
quite sure.

I am using ASP.NET, any suggestions would be great.

Thanks!
Oct 30 '08 #1
1 1959
asp:image control just renders an <img>. if you need some of the
webcontrol features like databinding then use it, if you are writing
this feature in javascript (the best user experience for performance),
then use an <img>.

-- bruce (sqlwork.com)
MU wrote:
Hello

Can someone give me some ideas on the best way to do the following?

I have a product page and it has 1 large image and 6 thumbnails. The
main image is the first photo from a data table for the product. The
6 thumbnails are the next 6 images for the product from the data
table. I would like the user to click on the thumbnail and that
thumbnail would show in the 1 large image area.

So I use <IMGtags or should I be using the ASP:Image control? Not
quite sure.

I am using ASP.NET, any suggestions would be great.

Thanks!
Oct 30 '08 #2

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

Similar topics

11
2521
by: Michel | last post by:
Here is a litle script that preload images and show a thumbnail. Once you get on the picture you see the real size It worsk fine with normal picture but when the url has some parameters like in the sample. The image is loaded again every time I go over the thumbnail. Is there a solution for havint just one load? function AddImage(url) {
3
2886
by: Ryan Sullivan | last post by:
I have been struggling mightily in getting this to work with the scripts I have seen. I have an image map that uses overlib to display information about a school's campus: http://dcavello.phenominet.com/about/tour.php I would like onClick to generate a series of thumbnails located directly above or below the image map. Those thumbnails would then be linked to larger images which would pop-up in a new browser window. Does anyone...
5
1435
by: Deepster | last post by:
Hi all, I have searched the internet for this but havent found what I am looking for exactly, found similar items but I am not that familiar with asp to go and do this myself. So here I am .... I want a page where I will have an image gallery. The page when loaded goes and grabs all the picutres in the directory and puts them into an array, creating thumbnails for them as well (found this part in my search).
14
11104
by: D. Alvarado | last post by:
Hello, I am trying to open a window containing an image and I would like the image to be flush against the window -- i.e. have no padding or border. Can I make this happen with a single call to a window.open function? I would prefer not to create a separate HTML page. So far all I have is the basic var cwin = window.open('images/KJV-THANKS.gif', 'Thanks', 'width=243,height=420,'); cwin.focus();
2
1340
by: PhoenixFalconhand | last post by:
Begginners' question: I am trying to make a small webform application that doesn't use frames. The application is supposed to show some thumbnails on the left, and whenever you click on one of them, the large image shows on the right side. The tricky part is when I scroll down the thumbnails and the big image on the right stays on the top of the webform and is not visible anymore. The solution I thought of is that every time the...
4
1338
by: dgk | last post by:
I have an app that has many subdirectories containing one or more images (jpg, gif, bmp). When the user selects a directory, my plan is to show the images if there are only one or two, or show thumbnails if there are more and allow the user to click on each thumbnail to view it full size. Right now I'm just sticking an <IMG> tag for each image into a literal control. It works fine but the images are huge which surprised me. I really...
6
3157
by: mike w. | last post by:
I want to create an application using VB.Net to have something like windows explorer to view thumbnails of image files in the directories. Is there a control or soemthing to do this? thanks mike w.
6
3206
by: Karl | last post by:
Hi, Ok so on a given page I have 4 text links: see it in black see it in blue see it in red see it in green using the standard swap image behavior, clicking on one of the above links
4
1798
by: RE Kochanski | last post by:
I have attempted to use the CSS techniques from two or three sites to create a CSS only image gallery. I am muddling the affair by placing the thumbnails in one float, the page text in another float, then using absolute positioning (and z-index) to display the image over the second float. The CSS for the thumbnails is from "Web Accessibility At C-net.us" by K Chayka (http://accessat.c-net.us/test/gallery2.html). The CSS to display the...
0
9715
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9595
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10356
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9176
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6869
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5536
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5675
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3836
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3003
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.