DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:photogallery

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:photogallery [2017-04-19 23:41] 93.71.58.40plugin:photogallery [2023-06-25 23:51] (current) – version upped andi
Line 1: Line 1:
-FIXME The plugin is under development and syntax and documentation are subjected to changes without notice.\\ 
-**Development state: 85%** 
 ====== PhotoGallery Plugin ====== ====== PhotoGallery Plugin ======
 ---- plugin ---- ---- plugin ----
 description: This Syntax Plugin allows you to embed an automatically created image gallery into a page. description: This Syntax Plugin allows you to embed an automatically created image gallery into a page.
-author     : Marco Nolletti +author     : Anna Dabrowska, Marco Nolletti 
-email      : mnolletti@gmail.com+email      : dokuwiki@cosmocode.de
 type       : syntax type       : syntax
-lastupdate : 2017-03-29 +lastupdate : 2023-06-25 
-compatible : Frusterick MannersDetritusElenor Of Tsort. +compatible : GreeboHogfatherIgor
 depends    :  depends    : 
 conflicts  conflicts 
Line 14: Line 12:
 tags       : media, images, gallery, namespace, feed, embed, listing, slideshow, photo tags       : media, images, gallery, namespace, feed, embed, listing, slideshow, photo
  
-downloadurl: https://gitlab.com/dokuwiki/PhotoGallery_plugin/repository/archive.zip?ref=master +downloadurl: https://github.com/cosmocode/dokuwiki-plugin-photogallery/zipball/master 
-sourcerepo : https://gitlab.com/dokuwiki/PhotoGallery_plugin +sourcerepo : https://github.com/cosmocode/dokuwiki-plugin-photogallery 
-bugtracker : https://gitlab.com/dokuwiki/PhotoGallery_plugin/issues +bugtracker : https://github.com/cosmocode/dokuwiki-plugin-photogallery/issues
-donationurl: +
  
 screenshot_img: http://www.nolletti.org/images/DokuWiki/PhotoGallery_Screenshot.jpg screenshot_img: http://www.nolletti.org/images/DokuWiki/PhotoGallery_Screenshot.jpg
Line 38: Line 35:
 The PhotoGallery plugin lightbox mode is based on the following included libraries: The PhotoGallery plugin lightbox mode is based on the following included libraries:
   * [[http://sachinchoolur.github.io/lightGallery/|jQuery lightgallery]]    * [[http://sachinchoolur.github.io/lightGallery/|jQuery lightgallery]] 
-  * [[http://phpthumb.sourceforge.net/|phpThumb]] +  * [[https://github.com/JamesHeinrich/phpThumb/|phpThumb]] 
  
 ==== Screenshots ==== ==== Screenshots ====
Line 46: Line 43:
  
 ===== Requirements ===== ===== Requirements =====
-  * PHP Version >= 5.4.45+   
 +:!: Make sure to uncheck the option [[config:defer_js]] in the wiki configurationJavaScript in this plugin still needs to be updated.
  
 ===== Installation ===== ===== Installation =====
  
-Install the plugin using the [[plugin:plugin|Plugin Manager]] or download at the URL above, which points to latest version, and install manually. Refer to [[:Plugins]] on how to install plugins manually.+Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually.
  
 ===== Examples/Usage ===== ===== Examples/Usage =====
Line 117: Line 115:
  
 ==== Image resizing ==== ==== Image resizing ====
-By default all images are resized to fit in a box of the size specified in the plugin configuration (''image_width image_height'').+By default all images are resized to fit in a viewport of the size specified in the plugin configuration (''viewport_width viewport_height'').
  
 **Note:** if you try to download or zoom the image with the lightbox button you will get the resized image, not the original one. **Note:** if you try to download or zoom the image with the lightbox button you will get the resized image, not the original one.
Line 142: Line 140:
 |                  |           | ''right''                                                                                                                                                                                                                                                                             | |                  |           | ''right''                                                                                                                                                                                                                                                                             |
 | ''zipfile''      |                       | Filename of a zip archive "automagically" created in the same images folder and linked for download                                                                                                                                                                       | | ''zipfile''      |                       | Filename of a zip archive "automagically" created in the same images folder and linked for download                                                                                                                                                                       |
 +| ''zipauthlist''                           | Comma separated list of users or @groups authorized to download zipped images (ACLs are always honoured)                                                                                                                                                                               |
 | ''sort''         | ''file''  | ''file''    | Sort images by filename                                                                                                                                                                                                                                                   | | ''sort''         | ''file''  | ''file''    | Sort images by filename                                                                                                                                                                                                                                                   |
 |                  |           | ''random''  | Sort images randomly.                                                                                           | |                  |           | ''random''  | Sort images randomly.                                                                                           |
Line 149: Line 148:
 | ''limit''        | 0                     | Limit the number of elements to the specified number                                                                                                                                                                                                                      | | ''limit''        | 0                     | Limit the number of elements to the specified number                                                                                                                                                                                                                      |
 | ''offset''       | 0                     | Shows elements starting from the specified number                                                                                                                                                                                                                         | | ''offset''       | 0                     | Shows elements starting from the specified number                                                                                                                                                                                                                         |
-| ''crop''         | disabled  |             | Make thumbnails the exact given thumbnail size big, cropping when needed.                                                                                                                                                                                                 |+| ''crop''         | disabled  |             | Make the images exact given viewport size big, cropping when needed.                                                                                                                                                                                                 |
 | ''reverse''      | disabled  |             | Reverse the order of the displayed images                                                                                                                                                                                                                                 | | ''reverse''      | disabled  |             | Reverse the order of the displayed images                                                                                                                                                                                                                                 |
 | ''recursive''    | disabled  |             | Find images in the given namespace and all sub namespaces                                                                                                                                                                                                                 | | ''recursive''    | disabled  |             | Find images in the given namespace and all sub namespaces                                                                                                                                                                                                                 |
 | ''showtitle''    | enabled               | Show the EXIF tag ''Headline'' as title below thumbnails                                                                                                                                                                                                                  | | ''showtitle''    | enabled               | Show the EXIF tag ''Headline'' as title below thumbnails                                                                                                                                                                                                                  |
 +| ''showdescription''    | disabled               | Show the EXIF tag ''Description'' below thumbnails                                                                                                                                                                                                                  |
 +| ''showkeywords''    | disabled               | Show the EXIF tag ''Keywords'' below thumbnails                                                                                                                                                                                                                  |
 | ''showinfo''     | enabled               | Show some EXIF techical information below images                                                                                                                                                                                                                          | | ''showinfo''     | enabled               | Show some EXIF techical information below images                                                                                                                                                                                                                          |
 | ''showfname''    | disabled  |             | Show filename below thumbnails                                                                                                                                                                                                                                            | | ''showfname''    | disabled  |             | Show filename below thumbnails                                                                                                                                                                                                                                            |
-| ''fullsize''     | disabled  |             | If enabled all images are not resized in the lightbox mode                                                                                                                                                                                                                |+| ''fullsize''     | disabled  |             | If enabled all images are not resized in the lightbox mode                                                                                                                                                                                                                                                                                                                                                                                                                                                            | 
 +| ''downloadfullsize''      FIXME To be soon delivered| disabled  |             | If enabled images are downloaded in full size from the lightbox download button. This is meant to be used without ''fullsize'' enabled: previewed images are resized, but users can still download the original fullsize image                                                                                                                                                                                                                |
  
  
Line 255: Line 257:
 Getting this error after installing your plugin (latest version as of 3/16/2017.. I downloaded the phpThumb folder directory from the github repo just to be sure)  Getting this error after installing your plugin (latest version as of 3/16/2017.. I downloaded the phpThumb folder directory from the github repo just to be sure) 
 "PhotoGallery error: pgImg.php is not executable" "PhotoGallery error: pgImg.php is not executable"
 +
 +==== Translations ====
 +Really nice plugin which already seems to work great for me. Thank you very much, Marco!!
 +
 +Could you also please register it at [[https://translate.dokuwiki.org/plugin]] to enable further translations by users like me. E.g. I would love to add ''de-informal''. :-)
 +
 + --- [[user>jFMd|jFMd]] //2017-06-28 16:21//
plugin/photogallery.1492638089.txt.gz · Last modified: 2017-04-19 23:41 by 93.71.58.40

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