Button for BUEditor and CKEditor which allows upload files in one click.

Features

  • Upload images and insert into editor image code
  • Upload files and insert into editor link code
  • Multi-upload files and images
  • Integration with image styles
  • Editable html templates

Video screencast (in WebM format) with work of module.
Описание модуля на русском языке.

Similar modules

Install One Click Upload

  1. Extract module archive in sites/all/modules
  2. Enable module One Click Upload
  3. Download SWFUpload v2.2.0.1 Core, extract archive in sites/all/libraries and rename dir SWFUpload v2.2.0.1 Core to swfupload. After this file swfupload.js must be available on path sites/all/libraries/swfupload/swfupload.js.

    Drush users can use the command drush ocupload-dl-library.

Integrate to BUEditor

  1. Open BUEditor config page admin/config/content/bueditor.
  2. Click Edit link for your use editor.
  3. Add new button with code: js: E.showFileSelectionDialog(); (do not change this code!) (screenshot).
  4. Click Save configuration.

Integrate to standalone CKEditor 7.x-1.11+ (not Wysiwyg module)

  1. Open CKEditor config page admin/config/content/ckeditor.
  2. Click edit link for your use editor.
  3. Open section Editor appearance, go to Toolbar field and drag&drop One Click Upload icon from All buttons to Used buttons (screenshot before, screenshot after).
  4. Below, in Plugins field, choose checkbox One Click Upload (screenshot).
  5. Click Save.
  6. Clear your browser cache.

Integrate to Wysiwyg+CKEditor

  1. Open Wysiwyg config page admin/config/content/wysiwyg.
  2. Click Edit link for your use editor.
  3. Open fieldset Buttons and plugins and mark checkbox One Click Upload.
  4. Click Save.

 

Attention: module does not work in Maintenance mode.

If not work

  1. Check in browser next files:
    http://yoursite.com/sites/all/libraries/swfupload/swfupload.js
    http://yoursite.com/sites/all/libraries/swfupload/Flash/swfupload.swf
    http://yoursite.com/sites/all/libraries/swfupload/plugins/swfupload.swfobject.js
    http://yoursite.com/sites/all/libraries/swfupload/plugins/swfupload.queue.js

    they should be available. If not — reinstall SWFUpload
  2. Check permissions on sites/default/files and path specified in ocupload template settings. Should be allowed to write.
  3. Check SWFUpload demo — should be work. If not — ask for help in SWFUpload forum.
  4. Check Maintenance mode on admin/config/development/maintenance — should be off.

Project Information

Downloads