DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:mediatooltip

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
plugin:mediatooltip [2021-04-11 19:56] – [Configuration] turnermmplugin:mediatooltip [2021-04-15 20:13] – [Table] turnermm
Line 6: Line 6:
 email      : turnermm02@shaw.ca  email      : turnermm02@shaw.ca 
 type       : action   type       : action  
-lastupdate : 2019-06-19+lastupdate : 2021-04-12
 compatible : greebo,hogfather compatible : greebo,hogfather
 depends    :  depends    : 
Line 34: Line 34:
  
 The latest upgrade includes expanded support for tooltips.  It provides for inclusion of up to eight fields in the tooltip data and display:  The latest upgrade includes expanded support for tooltips.  It provides for inclusion of up to eight fields in the tooltip data and display: 
-    - ** Camera **   make and type, assuming one was used +    - **Camera** make and type, assuming one was used 
-    - the ** File ** in which the image is stored on the server  +    - the **File** in which the image is stored on the server 
-    - the ** Exposure **   data, if '' Camera'' is selected  +    - the **Exposure** data, if ''Camera'' is selected 
-    - the ** Date **   that the image or photo was created  +    - the **Date** that the image or photo was created 
-    - the name of the ** Artist **  or potographer who made the image/photo  +    - the name of the **Artist** or potographer who made the image/photo 
-    - ** Caption **, if provided  +    - **Caption**, if provided 
-     - ** Copyright **   info if available +     - **Copyright** info if available 
-    - the ** Size **  of the image in pixels and size of the file on the server +    - the **Size** of the image in pixels and size of the file on the server 
 + 
 +==== Copyright Statement ==== 
 +If copyright statement is included, it can be included in the tooltip or on-screen underneath the image or in both places.  The size of the on-screen copyright text is set in ''style.css'' using the ''mtip_copy'' class and is pre-set to ''x-small''.
 ===== Configuration ===== ===== Configuration =====
  
 The output of the MediaToolTip plugin for photo-based images is controlled by its configuration options. The choices made from the options will alter the file names of the images and depending on the option may affect the information given in the tooltips. Otherwise, all media files will have the jQuery tooltips. The output of the MediaToolTip plugin for photo-based images is controlled by its configuration options. The choices made from the options will alter the file names of the images and depending on the option may affect the information given in the tooltips. Otherwise, all media files will have the jQuery tooltips.
  
-^Option^Brief Description^Choices^Default| | +^ Option             ^ Brief Description                                                                                     ^ Choices                                                                                                            ^ Default          ^ 
-|''copypos'' | Placement of copyright statment: \\ 1) in the ''tooltip''\\ 2) ''on-screen'' underneath the image \\ 3) ''both'' in the tooltip and under the image||tooltip| +| captionpos         | Placement  of caption field; has precedence over copyright placement for under image position         | on-screen underneath image, in the tooltip                                                                                          
-| ''fields'' | Checkbox for selecting one or more fields for inclusion in tooltips| | |  +| ''copypos''        | Placement of copyright statment                                                                       | 1) in the ''tooltip'' \\ 2) ''on-screen'' underneath the image  \\ 3) ''both'' in the tooltip and under the image  | tooltip          
-|''groups'' |comma separated list of user groups to be used for creating image ids| | +| ''fields''         | Checkbox for selecting one or more fields for inclusion in tooltips                                   Camera, File, Exposure, Date, Artist, Copyright, Caption, ImgSize, FileSize                                        File, Copyright  
-|''enable_userid'' |use userid in creating image ids|1,0|1| +| ''groups''         | comma separated list of user groups to be used for creating image ids                                                                                                                                                                     
-|''enable_real'' |use user's real name in creating image ids|1,0|1| +| ''enable_userid''  | use userid in creating image ids                                                                      | 1,0                                                                                                                0                
-|''date_style'' |choose whether and which date style to use in creating image ids|date_hms \\ date_hm \\ date,none|date_hms+| ''enable_real''    | use user's real name in creating image ids                                                            | 1,0                                                                                                                0                
-|''time_format'' |time format for creating image ids|the time is taken from the date on which the photograph was taken|hour.min.sec \\ hour-min-sec \\ hour_min_sec  |hour.min.sec|+| ''date_style''     | choose whether and which date style to use in creating image ids                                      | date_hms \\ date_hm \\ date,none                                                                                   | date_hms         
 +| ''time_format''    | time format for creating image ids;the time is taken from the date on which the photograph was taken  | hour.min.sec \\ hour-min-sec \\ hour_min_sec                                                                       | hour.min.sec     |
  
  
Line 102: Line 106:
  
  
 +|Expanded tooltip with Copyright and photo data((''Artist'' can be changed in lang.php using the ''creator'' setting))| 
 +|{{https://i.imgur.com/ObckTdj.jpg?400}}|
 ===== Issues ===== ===== Issues =====
 Please used either github or the forum to report any issues. Please used either github or the forum to report any issues.
  
 +{{rss>https://github.com/turnermm/mediatooltip/commits/layout.atom date }}
 +{{rss>https://github.com/turnermm/mediatooltip/commits/master.atom date 4}}
  
-{{rss>https://github.com/turnermm/mediatooltip/commits/master.atom date}} 
  
plugin/mediatooltip.txt · Last modified: 2023-10-31 00:37 by Klap-in · Currently locked by: 2405:201:c042:71d0:cddd:cd7e:73a5:d362

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