Raymond,
Thanks for the quick response.
Is that something I can pass to Spectra's default File or Image object?
Let's say I want to use Spectra's default image and file objects so that I'm
not reinventing the wheel. So I have a custom article object that includes
two images. The first being an author image and the second being an article
body image. When the user is selecting the author image, I don't want them
to have to sort through every image that has been uploaded to the site.
Instead I want author images to be located in the
c:\webroot\images\uploads\authors\ directory. Where do I set the
directoryPath and directoryUrl args?
I hope I'm not confusing the issue here.
Thanks,
Nate
-----Original Message-----
From: Raymond Camden [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 09, 2001 3:47 PM
To: Spectra-Talk
Subject: RE: Bypassing the mediastore directory?
Are you using the directoryPath arg when creating new file obs? Here is an
example from the docs:
<cfscript>
stParams = structNew();
stParams.directoryPath = server.cfa.information.mediastorepath;
stParams.directoryURL = "/allaire/spectra/system/mediastore/";
</cfscript>
<cfa_contentObject
datasource="#attributes.dataSource#"
stObject="#stImage.file#"
stParams = "#stParams#"
method="upload">
You could change directoryPath:
stParams.directoryPath = "c:\all\your\base\are\belong\to\us";
=======================================================================
Raymond Camden, Principal Spectra Compliance Engineer for Allaire
Email : [EMAIL PROTECTED]
ICQ UIN : 3679482
"My ally is the Force, and a powerful ally it is." - Yoda
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.