how display out the image without specifc director?
Moderator: General Moderators
-
teckyan888
- Forum Commoner
- Posts: 40
- Joined: Tue May 11, 2004 10:46 am
how display out the image without specifc director?
let say i have a picture that instore in a folder...Then,can i don't use the specific directory to search it out? If got,what is the code for it? thanks...
2 ways:
1. fix the path as a constant in the application (on the main include file, say) DEFINE $imagepath = "some\path\to\images\";
2. write a functions that scours the folders looking for a match using the filesysem utils FSO. In particular have a look at the user comments below...there are a few that match your needs
1. fix the path as a constant in the application (on the main include file, say) DEFINE $imagepath = "some\path\to\images\";
2. write a functions that scours the folders looking for a match using the filesysem utils FSO. In particular have a look at the user comments below...there are a few that match your needs