DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:imgpaste

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
plugin:imgpaste [2024-01-30 22:10] tahaplugin:imgpaste [2024-01-30 22:33] – old revision restored (2023-10-31 00:15) Aleksandr
Line 1: Line 1:
 +====== ImgPaste Plugin ======
 +
 +---- plugin ----
 +description: Add images and media via cut'n'paste
 +author     : Andreas Gohr 
 +email      : dokuwiki@cosmocode.de
 +type       : action
 +lastupdate : 2023-02-08
 +compatible : Hogfather, Igor, Jack Jackrum
 +depends    : 
 +conflicts 
 +similar    : dropfiles
 +tags       : paste, image, clipboard
 +
 +downloadurl: https://github.com/cosmocode/dokuwiki-plugin-imgpaste/zipball/master
 +bugtracker : https://github.com/cosmocode/dokuwiki-plugin-imgpaste/issues
 +sourcerepo : https://github.com/cosmocode/dokuwiki-plugin-imgpaste/
 +donationurl: 
 +
 +screenshot_img : 
 +----
 +
 +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.
 +
 +
 +[[https://www.cosmocode.de/en/open-source/dokuwiki-plugins/|{{ http://cosmocode.de/static/img/dokuwiki/dwplugins.png?recache|A CosmoCode Plugin}}]]
 +
 +
 +===== Installation =====
 +
 +Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually.
 +
 +=== Change Log ===
 +
 +{{rss>https://github.com/cosmocode/dokuwiki-plugin-imgpaste/commits/master.atom date}}
 +
 +===== 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 [[phpfn>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  |
  
-file:///home/taha/Pictures/German-Shepherd-dog-Alsatian.png 
  
plugin/imgpaste.txt · Last modified: 2024-02-01 08:51 by andi

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki