hi guys,
i am trying to mimic those photo gallery webhost.
...maybe you need to explain why you can't simply use src="/image/pix one/pic.jpg"
actually, the function uses the relative path which I showed above. when i use the servervariable and see what it looks like during execution, it showed me the physical path. i posted it as such for simplifying my query in this post.
...does Pix One directory exist? PixOne is there (therefore the image is displaying). why do u want to have a space???
i created a function that will display all the albums in the image directory, hence:
images
pix one
pix two
christmas party 2004
championship
etc...
given the above folder structure, i use the fso folders collection to display them. the folders display properly and the works for <a href> with urlencode. the parameters are passed properly to the page that should display the pictures, but no pictures are displayed. "pix one" or "pixone" exist. i rename the subfolder to isolate problems when using spaces and not. the subfolders with no spaces works fine with the function but those with space does not.
admin of the site will just create a subfolder in the image folder and upload the pictures using my webhost filemanager. i am still working on the upload utility for this site. i've been trying to get a directory "description" property (like fsoFolder.Description) but did not find one as a work around.
thanks