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
Last revision
plugin:mediatooltip [2021-04-09 22:50]
turnermm old revision restored (2021-04-09 21:29)
plugin:mediatooltip [2021-04-15 20:15]
turnermm [mediatooltip Plugin]
Line 6: Line 6:
 email      : turnermm02@shaw.ca  email      : turnermm02@shaw.ca 
 type       : action   type       : action  
-lastupdate : 2019-06-19+lastupdate : 2021-04-15
 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          ^ 
-| ''fields'' | Checkbox for selecting one or more fields for inclusion in tooltips| | |  +| captionpos         | Placement  of caption field; has precedence over copyright placement for under image position         | on-screen underneath image, in the tooltip                                                                                          | 
-|''groups'' |comma separated list of user groups to be used for creating image ids| | +| ''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          
-|''enable_userid'' |use userid in creating image ids|1,0|1| +| ''fields''         | Checkbox for selecting one or more fields for inclusion in tooltips                                   Camera, File, Exposure, Date, Artist, Copyright, Caption, ImgSize, FileSize                                        File, Copyright  
-|''enable_real'' |use user's real name in creating image ids|1,0|1| +| ''groups''         | comma separated list of user groups to be used for creating image ids                                                                                                                                                                     
-|''date_style'' |choose whether and which date style to use in creating image ids|date_hms \\ date_hm \\ date,none|date_hms+| ''enable_userid''  | use userid 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|+| ''enable_real''    | use user's real name 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         
 +| ''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 101: 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: 2021-04-16 21:12 by turnermm