use filebrowser to upload avatars?

I am exploring a possibility to use contentbox’ filebrowser to allow authors to upload their avatars (replace gravatars - that will be another challenge). I plan on setting up a separate directory/folder for each author, since they might be uploading other pictures as well, and I have a few questions

  • Is it possible to run each instance of the filebrowser as singleton for each author? I noticed that some settings that I changed persisted even after module reload and application reload.

  • Is it possible to strip the toolbar and only show upload button and allow dropzone functionality?

  • I would also like to avoid showing the full CF path at the bottom?

  • Is there a way to pass selected file name so it can be saved as a part of the author object?

  • Maybe using FB is an overkill? Is there a simplier way to set up drag and drop upload upload?

TIA

Cyrill

I think personally it is overkill to use the file browser. However, the integration is already there so you can use it. You don’t need to alter the module settings, you need to execute it as a viewlet or widget.

Look at the following:
https://github.com/Ortus-Solutions/ContentBox/blob/development/modules/contentbox-admin/handlers/mediamanager.cfc

Luis Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com
P/F: 1-888-557-8057
Direct: (909) 248-3408

Linked In: http://www.linkedin.com/pub/3/731/483

Social: twitter.com/ortussolutions | twitter.com/coldbox | twitter.com/lmajano | twitter.com/gocontentbox