This is a web application.
If I am unclear on how I'm explaining the problem maybe I can go into more detail?
Main Topics
Browse All Topics
I want to implement thumbnail image rollover, as exists in the site www.laurastojanovic.com.
The only difference is that my image filenames are loaded from a database at runtime, they are not static.
I was going to use the .net ImageBox to display the thubnails and the large photo. I just need the code to handle the mouse-over event.
I'm devloping in: ASP.NET 2008, C#
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
This is what you can do:
1. Use a DataList to display thumbnails (Reaper will work too): add an Image control in DataList to store the thumbnail.
2. Use an Image control on top of (or on the right side, wherever you want to) the DataList for displaying the original picture.
3. In DataList's ItemDataBuond event handler, first find the thumbnail Image control, then set the Image control's ImageUrl="TheThumbnailURLF
imgThumbnail.Attri
4.
<script type="text/javascript">
function displayFullImage(url)
{
var img = document.getElementById('<%
img.style.display="block";
img.style.width="800px"; //change to your image size
img.style.height="600px"; //change to your image size
img.src = url;
}
imgOriginalImage is the Image control added in step 2 above. You can use style="display:none;" to hide it so it will not show up until user hovers the mouse over a thumbnail.
Let me know if you have any further questions,
Business Accounts
Answer for Membership
by: prairiedogPosted on 2009-06-12 at 06:46:51ID: 24612202
>>>I was going to use the .net ImageBox
I don't recall there is an ImageBox control in ASP.NET, but there is an ImageBox control in Windows Form. Is this a web application or windows application?