DokuWiki

It's better when it's simple

User Tools

Site Tools


media_manager

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
Next revisionBoth sides next revision
media_manager [2013-01-12 00:00]
– cleaned up problems and discussion and turned it in a faq Klap-in
media_manager [2018-01-03 16:33]
Klap-in
Line 1: Line 1:
 ====== The Media Manager ====== ====== The Media Manager ======
  
-[[Images]] and other media files can be uploaded and inserted through a simple media manager. To open the media manager click the {{http://www.dokuwiki.org/lib/images/toolbar/image.png?nolink}} button in the page editing [[toolbar]].+[[Images]] and other media files can be uploaded and inserted through a simple media manager. To open the media manager click the {{https://www.dokuwiki.org/lib/images/toolbar/image.png?nolink}} button in the page editing [[toolbar]]. When you want to manage media, but have no need for inserting media links, you can use the [[fullscreen mediamanager]] too.
  
 Browse the available namespace by clicking their name in the left pane. Namespaces can be expanded by a click on the **+** button right next to the namespace name. Browse the available namespace by clicking their name in the left pane. Namespaces can be expanded by a click on the **+** button right next to the namespace name.
Line 32: Line 32:
 The top headline of the right pane always shows the currently **selected [[namespaces|namespace]] (3)**. All uploads you do will be put into this namespace. The top headline of the right pane always shows the currently **selected [[namespaces|namespace]] (3)**. All uploads you do will be put into this namespace.
  
-Below the headline is the **upload form (4)**. Note that this form will only be displayed if you have the needed permissions to upload in the current namespace. You can rename the file you are about to upload with the second text field. To create subnamespaces just prepend them to the name here. Which file extensions may be uploaded is configured through the [[:mime]] settings. On compatible browsers an icon to activate the [[multiuploader]] is shown here as well.+Below the headline is the **upload form (4)**. Note that this form will only be displayed if you have the needed permissions to upload in the current namespace. You can rename the file you are about to upload with the second text field. To create subnamespaces just prepend them to the name here. Which file extensions may be uploaded is configured through the [[:mime]] settings.  
 + 
 +On compatible browsers you can drag-and-drop files into the pop-up window and upload [[multiuploader|multiple files]] as well.
  
 Below the uploadform comes a listing with available mediafiles. For each file there is a line with a file type icon, the file name, and some **toolbar buttons (5)**. The following buttons may be available depending on the file type and your permissions: Below the uploadform comes a listing with available mediafiles. For each file there is a line with a file type icon, the file name, and some **toolbar buttons (5)**. The following buttons may be available depending on the file type and your permissions:
  
-|{{http://www.dokuwiki.org/lib/images/magnifier.png?nolink}}| View or download the file | +| {{http://www.dokuwiki.org/lib/images/magnifier.png?nolink}}  | View or download the file                           
-|{{http://www.dokuwiki.org/lib/images/trash.png?nolink}}    | Delete the file           +| {{http://www.dokuwiki.org/lib/images/trash.png?nolink}}      | Delete the file                                     
-|{{http://www.dokuwiki.org/lib/images/pencil.png?nolink}}    | Edit the [[exif|metadata]] of the file (JPEG only) |+| {{http://www.dokuwiki.org/lib/images/pencil.png?nolink}}     | Edit the [[exif|metadata]] of the file (JPEG only)  |
  
 The file may be followed by a **thumbnail (6)** and a preview of the **metadata (7)**. [[EXIF]] metadata editing is currently only supported for JPEG files. The file may be followed by a **thumbnail (6)** and a preview of the **metadata (7)**. [[EXIF]] metadata editing is currently only supported for JPEG files.
Line 55: Line 57:
 When you want to create the namespace in your filesystem look for the directory ''data/media/''. When you want to create the namespace in your filesystem look for the directory ''data/media/''.
  
-===How to remove media namespaces?===+===How to remove media namespaces===
 Remove all content within it and it will be removed for you. Remove all content within it and it will be removed for you.
  
-===Can give users overwrite option without delete permissions?===+===Can give users overwrite option without delete permissions?===
 No. By using overwriting you can do the same as by deleting. No. By using overwriting you can do the same as by deleting.
  
-===How do manage hunderds and more of images?=== +===How do manage hundreds and more of images?=== 
-When a flat organisation is not enough you can introduce extra namespaces in your current media namespace. It's fine to have media namespaces that doesn't exist as page namespaces.+When a flat organisation is not enough you can introduce extra namespaces in your current media namespace. It's fine to have media namespaces that don't exist as page namespaces.
    
  
-===My server settings are too restrictive, can i use a traditional uploader?==     +===My server settings are too restrictive. Can I use a traditional uploader?==     
 At the moment this isn't possible. \\ At the moment this isn't possible. \\
 Either there is a no-javascript failback and [[http://bugs.dokuwiki.org/index.php?do=details&task_id=2406|FS#2406]] is about implementing this as option.  Either there is a no-javascript failback and [[http://bugs.dokuwiki.org/index.php?do=details&task_id=2406|FS#2406]] is about implementing this as option. 
 +
 +=== How to move media files to another namespace ===
 +
 +You may consider using the [[plugin:move|Move plugin]]
 +
 +=== How to hide the media manager link when a user is not registered or only have view access (default template) ===
 +
 +see [[http://stackoverflow.com/questions/15589912/dokuwiki-how-can-i-hide-media-manager-link-from-non-logged-in-users]]
  
  
 +<code>
 +<?php
 +                if ($INFO['isadmin']) {
 +                    tpl_action('recent', 1, 'li'); //recent changes
 +                    tpl_action('media', 1, 'li'); //media manager
 +                    tpl_action('index', 1, 'li'); //sitemap
 +                }
 +            ?>
 +</code>
media_manager.txt · Last modified: 2022-03-17 15:14 by 109.200.196.114

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