473,399 Members | 3,302 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,399 software developers and data experts.

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 1940
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
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...
3
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: ...
5
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 .......
14
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...
2
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...
4
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...
6
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 ...
6
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
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...
0
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,...

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.