Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Loading multiple photos from a directory 1

Status
Not open for further replies.

fordtran

Programmer
Jun 15, 2005
101
ZA
I have a web page (ASP.NET) with a drop down list control (ddlSelect) and about 20 image controls.
If an item is selected on the ddl I wish to load all the images in a certain directory into the image controls. The number of images in a certain directory may vary. I also wish to load the name of the picture that was loaded into a certain image as a link to that image. If I have a small image of the picture I should be able to click on that image to load a full sized image on a popup page.

Thank you

fordtran
 
I have put the ddl control on the form and filled it with a few selections and about 20 image cotrols - on the form. I have not named them - I am not sure whether I can use a control array.
I have about 15 photos in one directory and 10 photos in another directory.
So - when listindex=1 is chosen I know from which directory to load the photos - names 01.jpg to 15.jpg

Thanks

fordtran
 
How do I know how many photos are there in the directory ?

fordtran
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top