ASP 101 - Active Server Pages 101 - Web05
The Place ASP Developers Go!

Please visit our partners


Windows Technology Windows Technology
15 Seconds
4GuysFromRolla.com
ASP 101
ASP Wire
VB Forums
VB Wire
WinDrivers.com
internet.commerce internet.commerce
Partners & Affiliates














ASP 101 is an
internet.com site
ASP 101 is an internet.com site
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

ASP 101 News Flash ASP 101 News Flash





Script Output:

Photo Gallery

Spring Into Action

Spring Into Action

<-- previous     next -->

Back to the Main Photos Page

Thumbnails and photos from Photos.com. They have over 180,000 royalty-free stock photographs available by subscription.


ASP HTML Download            FAQ

ASP.NET Version

I recently got a call from a friend who was trying to put some pictures up on a new web site he was building. Before he started anything, he naturally checked ASP 101 for some code first. He told me that he was surprised when he couldn't find anything that worked for him. We obviously couldn't let that situation persist so... here it is... a somewhat belated photo gallery sample.

The main shortcoming I see in the code above is that the image details are currently hardcoded in to the beginning of the script. It feels like they should come from a database or an XML file, but since every situation will be a little different I've left the image information retrieval part of the code up to you guys. If there's enough demand for it maybe I'll post an XML file format and hook it up to the photo gallery, but for the time being that part is left up to you.

Update: XML Version

The XML connected version is up and running here: Photo Gallery (XML Version).


Samples

Home |  News |  Samples |  Articles |  Lessons |  Resources |  Forum |  Links |  Search |  Feedback

Internet.com
The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers