Hey all,
I'm a Spectra newbie and I have a question that hopefully is not too
difficult to answer. I have a client that is going to be posting numerous
types of content which will include images. Since I have varying objects
that use these images and I don't want to lump all these images in one
directory (the default mediastore directory) otherwise, choosing an image
from the list of uploaded images would be cumbersome. Instead I'd like to
keep article images in an article upload directory and content images in a
content upload directory etc..
So here's the question: What is the easiest method of redirecting the
directoryPath and directoryUrl variables in the default image and file
handlers? Or should I write my own upload and picker handlers for a custom
file object where the object typeid cfswitches the directoryPath and
directoryUrl?
I hope I've stated my question clearly.
Thanks for any help you can offer.
-
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.