Table of Contents
ImgPaste Plugin
Compatible with DokuWiki
- 2024-02-06 "Kaos" unknown
- 2023-04-04 "Jack Jackrum" yes
- 2022-07-31 "Igor" yes
- 2020-07-29 "Hogfather" yes
Similar to dropfiles
This plugin allows to insert images and any other media files by simply pasting them into the editor. This can be raw image data in the clipboard (eg. when copying from an image editor) or files selected in your file explorer.
Installation
Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.
Change Log
- Version upped (2023-02-08 23:50)
- remove obsolete files on install (2023-02-08 16:38)
- More cleanup (2023-02-08 15:10)
- code cleanup (2023-02-08 14:57)
- simplified JavaScript (2023-02-08 14:49)
- Version upped (2022-08-23 23:51)
- German translation (2022-08-23 09:39)
- Merge pull request #13 from fstorck/master (2018-05-03 16:07)
Usage
Simply use CTRL-V
or whatever pastes on your system while having some image data or file data in the clipboard and editing a page. The media will automatically be uploaded and the media 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 |
@PAGE@ | Name of currently edited page without namespace |