Hey all,
When using the default image objects picker method, the
stParam.lExtensionFilter doesn't seem to work. Can anyone confirm this? I
can see select txt, gif files and other directories when the code is as
follows. Shouldn't the lExtensionFilter work?
<cfscript>
stParams = structNew();
stParams.directoryPath =
'#application.RootDataDir#site\images\uploads\article\';
stParams.directoryURL = "images/uploads/article/";
stParams.defaultFile = output.image.file;
stParams.lExtensionFilter = "jpg";
</cfscript>
<cfa_contentObject
datasource="#request.cfa.objectstore.dsn#"
stObject="#output.image.file#"
stParams = "#stParams#"
method="picker">
-
Nate Smith,
Lead Developer
[EMAIL PROTECTED]
www.doceus.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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.