|
|
|
|
|
| | |
|
Active Server Pages ASP control controls class classes module script Scripts applet CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
Subject: |
Re: Thumbnails in ASP - How to do it? |
From: |
elewis |
Date: |
5/30/2000 1:29:48 PM |
IP: |
204.106.63.5 |
This process takes a moderate amount of planning. The first thing you need to do is plan your web site and decide where you will be keeping your image files. Once you have a good handle on that you can setup a database to store the URLs to your thumbnail images.
Youll probably want to store some additional information with the image URLs so you can query the table and get the image path based on some selection the user makes on your page.
An example might be that you want to display different categories of pictures, like travel, family, recreation, scenery, etc. You could create a simple two column table that has the category in one field and the image URL in the other.
Then when your user requests a page have the ASP page query the database and create the <img src= > tag on the fly.
If you have more questions about how this can be done read up on creating connections and querying a database first. Once you see how to retrieve information from the database you should be able to see how to create an image pointer URL quite easily. |
Previous Message
|
|

|
|
|
|
|
|
|
|
|
|