Also depends on how dynamic the content is
For dynamic DB driven sites w/ File Upload and management of media (Add/delete/replace) it is often best to manage the full path in
the DB too
(to avoid need for FSO looping to find it in the future)
| Personally, I think putting the path in the database is a big mistake. Put
| the image filenames in the database, and leave the path in the HTML, e.g.,
|
| <img src="../images/dogs/<% response.write(yourfieldname) %>"
|
| That way, it's very simple to move things around and to adjust the paths.
| Fishing through a database to change all the path records can be quite
| tedious and error prone.
|
| --
| Murray
| ============
|
| | > First of all, competent web developers have learned not to put the images
| > in the database. They go in the file system and the path to load them is
| > stored in the database.
| >
| > Secondly, the best way for a neophyte to begin to learn to achieve a
| > specific objective is to go to any of the many directory sites and
| > download samples, read articles, and try as many examples as possible..
| >
| > Thirdly, as a neophyte I urge you to go to Amazon and buy a used copy of
| > "Beginning Active Server Pages 2.0" published by WROX (now out of print)
| > as that book proved to become the defacto standard, is considered a
| > classic, and has specific information about the intrinsic objects that
| > will help you achieve your goals using ASP.
| >
| > Finally, client-side development using JavaScript is critically important
| > and you need to know about the JavaScript FAQ [1] which is arguably the
| > best resource of its type.
| >
| > <%= Clinton Gallagher
| > METROmilwaukee (sm) "A Regional Information Service"
| > NET csgallagher AT metromilwaukee.com
| > URL
http://metromilwaukee.com/
| > URL
http://clintongallagher.metromilwaukee.com/
| >
| > [1]
http://developer.irt.org/
| >
| >
| >
| > | >> I'm a newby trying to create ASP pages with graphic ads. I'd like the
| >> ads,
| >> the graphics for which are called from an Access database, to be hotspots
| >> for
| >> advertiser URL's. My search for advice on the subject has been
| >> fruitless.
| >> Can someone tell me how to code for the result I'm seeking, or point me
| >> to a
| >> help article or 3rd party utility that will meet my needs. Thanks for
| >> the
| >> help.
| >> --
| >> Tom
| >
| >
|
|