res:plugins:photoswipe
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| res:plugins:photoswipe [2024/02/17 20:29] โ added FP 1.3 hint box arvid | res:plugins:photoswipe [2025/01/12 15:48] (current) โ moved to doc:plugins:photoswipe arvid | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== PhotoSwipe ====== | ||
| - | <WRAP center round tip 60%> | ||
| - | As of FlatPress 1.3 " | ||
| - | </ | ||
| - | This FlatPress plugin displays single images and whole image galleries with the JavaScript library [[http:// | ||
| - | |||
| - | Since the plugin uses FlatPress default functionality for building the image HTML, you may use the documented parameters of the [img] tag such as " | ||
| - | |||
| - | Author: [[https:// | ||
| - | |||
| - | ===== Download ===== | ||
| - | {{ : | ||
| - | |||
| - | ===== Usage ===== | ||
| - | For a single image: | ||
| - | < | ||
| - | Floating image with given width: | ||
| - | < | ||
| - | |||
| - | For an image gallery: | ||
| - | < | ||
| - | Gallery width given image height: | ||
| - | < | ||
| - | |||
| - | === Multiple Usage === | ||
| - | If the plugin is called a number of times on a page, all images referenced, whether as single images or as part of a gallery, will be displayed in a single gallery. | ||
| - | ===== HTML+CSS ===== | ||
| - | The HTML code of the images is generated by the BBCode standard function // | ||
| - | The plugin will wrap that HTML in a < | ||
| - | The < | ||
| - | |||
| - | Galleries are displayed as a series of images as described above, encapsulated by a <div class=" | ||
| - | |||
| - | ===== Captions ===== | ||
| - | Captions of the gallery images will be read from a text file " | ||
| - | For having the title attribute in the gallery images (and therfore, also see it as description below the images in the gallery), just create a file " | ||
| - | < | ||
| - | 1.jpg = Description of the first image | ||
| - | 2.jpg = This is the second image. | ||
| - | someother.jpg = OMG, another image! | ||
| - | </ | ||
| - | |||
| - | For now, you have to create the texte.conf files for each gallery manually via FTP. | ||
| - | |||
| - | From FlatPress 1.3 on, the plugin " | ||
| - | |||
| - | ==== How to remove the captions ==== | ||
| - | If you don't want to display captions at all, this is the easiest way to get rid of them: Just add the following to the CSS of your theme! | ||
| - | < | ||
| - | //Generally not displaying the captions if no caption file is present (or even to have a config option for this) is on the list for future plugin versions. See GitHub issues [[https:// | ||
| - | |||
| - | ===== Changelog ===== | ||
| - | == 2022-05-07: Version 1.0.6 == | ||
| - | * Bugfix: Fixed invalid HTML output. | ||
| - | == 2022-04-09: Version 1.0.5 == | ||
| - | * Bugfix: Detection if BBCode plugin is active to prevent error if not. | ||
| - | == 2021-06-03: Version 1.0.4 == | ||
| - | * Bugfix: texte.conf doesn' | ||
| - | == 2021-01-16: Version 1.0.3 == | ||
| - | * Bugfix: PhotoSwipe plugin will load own jQuery library only if jQuery plugin is not enabled. | ||
| - | == 2020-12-09: Version 1.0.2 == | ||
| - | * Bugfix: initializePluginTags() has to be public static. | ||
| - | == 2017-09-16: Version 1.0.1 == | ||
| - | * Bugfix: getPhotoSwipeOverlay() and echoScriptTags() have to be static. | ||
| - | == 2017-08-11: Version 1.0 == | ||
| - | * Initial plugin version. | ||
res/plugins/photoswipe.1708198176.txt.gz ยท Last modified: by arvid
