wiki:collective.clipboardupload

Collective.clipboardupload is a Python package, developed to simplify the process of inserting images into visual editor without the need to upload the image.

Installation

If you are using buildout to manage your project, you can do this:

  • Add collective.clipboardupload to the list of eggs in the buildout.cfg file:
        [buildout]
        ...
        eggs =
            ...
            collective.clipboardupload
    
  • Rerun buildout, e.g. with:
        $ ./bin/buildout
    
  • Restart the Zope server, e.g with the following command in the terminal:
        $ ./bin/instance restart
    

You don’t need to activate this add-on product after buildout installation. See the instance.log file to check whether Collective.clipboardupload was properly installed.

Usage

After you have installed the product, you can select:

  • printscreen
  • area of image, opened in, for example, Paint
  • picture from web browser

and copy it to the clipboard. Switch to Plone TinyMCE and Paste using your browser menu Edit -> Paste or key combination. The picture will be automatically uploaded to the same folder, which contains an edited page, and stored as an image content type. Title is automatically generated and can be changed any time. Furthermore, the path to the image itself upon saving in TinyMCE is rendered as resolveUID link.

Collective.clipboardupload on different platforms

Linux - FirefoxLinux - ChromeWindows - FirefoxWindows - Chrome
Copy of the area from graphic editor +-+-
Insert screenshot +-+-
Drag and drop from local directory +-+-
Drag and drop in browser ----
Copy image from Google search selectively, mostly only preview; may depend on the size-selectively, mostly only preview; may depend on the size-
Copy image from site ----
Last modified 11 years ago Last modified on Oct 7, 2013 1:10:09 PM