DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:gallery

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
plugin:gallery [2023-08-23 20:04] – [Source: Image List] andiplugin:gallery [2024-05-01 23:50] (current) – version upped andi
Line 6: Line 6:
 email      : andi@splitbrain.org email      : andi@splitbrain.org
 type       : syntax type       : syntax
-lastupdate : 2023-08-16 +lastupdate : 2024-04-30 
-compatible : Igor, Jack Jackrum+compatible : !greebo, !hogfather, !igor, Jack Jackrum, Kaos
 depends    :  depends    : 
 conflicts  conflicts 
Line 82: Line 82:
 </code> </code>
  
-This mode allows you to optionally manually set the title and caption of images. The title is separated by a space from the image name, the caption is separated by a dash ''-'' from the title.+This mode allows you to optionally manually set the title and caption of images. The title is separated by a space from the image name, the caption is separated by a pipe ''|'' from the title.
  
 <code> <code>
 <gallery options go here> <gallery options go here>
-:somenamespace:image.jpg My Horse Look at my horse, it's amazing!+:somenamespace:image.jpg My Horse Look at my horse, it's amazing!
 https://example.com/anotherimage.jpg Just a Title https://example.com/anotherimage.jpg Just a Title
 </gallery> </gallery>
Line 187: Line 187:
 ==== Caching ==== ==== Caching ====
  
-The gallery output is cached by default. When you add pictures later, they may not show up immeadiately in the gallery. Either wait until the [[config:cachetime]] has been reached or add the ''purge=true'' parameter to the end of the URL to clear the cache. See [[:caching]] for details.+The gallery output is cached by default. When you add pictures later, they may not show up immediately in the gallery. Either wait until the [[config:cachetime]] has been reached or add the ''purge=true'' parameter to the end of the URL to clear the cache. See [[:caching]] for details.
  
 Optionally use the ''nocache'' parameter of the plugin (usually not recommended). Optionally use the ''nocache'' parameter of the plugin (usually not recommended).
Line 195: Line 195:
 Problems with accessing [[:exif|EXIF or IPTC]] data in the images, should be reported as DokuWiki bugs and not for this plugin. All EXIF handling is in DokuWiki core. Currently EXIF Data is expected in UTF-8 encoding.  Problems with accessing [[:exif|EXIF or IPTC]] data in the images, should be reported as DokuWiki bugs and not for this plugin. All EXIF handling is in DokuWiki core. Currently EXIF Data is expected in UTF-8 encoding. 
  
 +Note that the EXIF parser requires XML support in your PHP for some parsing. If you get ''undefined function xml_parser_create'' errors, be sure to install and enable the XML extension.
 ==== Lightbox Problems ==== ==== Lightbox Problems ====
  
plugin/gallery.1692813872.txt.gz · Last modified: 2023-08-23 20:04 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