DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:imgpaste

ImgPaste Plugin

Compatible with DokuWiki

  • 2017-02-19 "Frusterick Manners" yes
  • 2016-06-26 "Elenor Of Tsort" yes
  • 2015-08-10 "Detritus" yes
  • 2014-09-29 "Hrun" yes

plugin Add images via cut'n'paste in Chrome, Opera and Firefox

Last updated on
2016-07-06
Provides
Action
Repository
Source
Conflicts with
fastwiki

Tagged with clipboard, image, paste

This plugin allows to insert images by simply pasting them into the editor. This is especially useful for inserting screenshots. Please note this plugin works in the Chrome browser, Opera (from version 15 onwards), Firefox 52. 1)

A CosmoCode Plugin

Installation

Install the plugin using the Plugin Manager and the download URL above, which points to latest version of the plugin. Refer to Plugins on how to install plugins manually.

Change Log

Usage

Simply use CTRL-V or whatever pastes on your system while having some image data in the clipboard and editing a page. The image will automatically be uploaded and the image syntax is inserted at your current cursor position.

Configuration and Settings

You can specify how image names are constructed. You should make sure the constructed name will be unique (by using the current time). In addition to strftime wildcards, the following placeholders can be used:

Placeholder Description
@NS@ Namespace of the currently edited page
@ID@ ID of the currently edited page
@USER@ Username of the currently logged in user
1)
Tip for no-Chromers in Windows
Irfanview has extensive commandline options. I use two of them in a shortcut which I start with e.g. Ctrl-F12
<path to i_view32.exe> /clippaste /convert="U:\$U(%Y.%m.%d_%H%M%S).jpg"
You should put the shortcut on your desktop in order to work and can set the key-combination in the shortcut properties. This is a one-time action of a minute or two.

Anytime I need a screenshot from the clipboard in DokuWiki:
  1. Start normal DokuWiki image insert ⇒ select files button ⇒ if not already there, navigate to the screenshot location (in this case the easy U-drive),
  2. Press Ctrl-F12
The new screenshot appears with a chronological filename. You can rename it or upload immediately.
Martin 2014/07/18 09:27

PS: in combination with Windows context menu adapting software like Open++, you could adapt the shortcut to save into any upload location. But this is already far too much for one footnote.
plugin/imgpaste.txt · Last modified: 2017-03-18 23:44 by 200.74.215.2