doc:plugins:photoswipe
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| doc:plugins:photoswipe [2025/05/08 16:55] â [Changelog] fraenkiman | doc:plugins:photoswipe [2025/05/29 13:53] (current) â added popup parameter description arvid | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| This FlatPress plugin displays single images and whole image galleries with the JavaScript library [[http:// | 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:// | Author: [[https:// | ||
| ===== Usage ===== | ===== Usage ===== | ||
| - | For a single | + | Since the plugin uses FlatPress default functionality for building the image HTML, you may use the documented parameters of the [img] tag such as "alt", "title", |
| - | < | + | |
| - | Floating image with given width:Â | + | |
| - | < | + | |
| - | For an image gallery:Â | + | === Image galleries ===Â |
| - | < | + | To display |
| + | < | ||
| Gallery width given image height: | Gallery width given image height: | ||
| - | < | + | < |
| + | Â | ||
| + | === Image without PhotoSwipe ===Â | ||
| + | You may wish to display some images without the PhotoSwipe functionality (e.g. small icons, or images that work as links). Â | ||
| + | Â | ||
| + | The optional " | ||
| + | < | ||
| + | Â | ||
| + | You'll need to use // | ||
| + | < | ||
| - | === 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 ===== | ===== HTML+CSS ===== | ||
| The HTML code of the images is generated by the BBCode standard function // | The HTML code of the images is generated by the BBCode standard function // | ||
| Line 41: | Line 45: | ||
| == 2025-05-07: Version 2.0.4 == | == 2025-05-07: Version 2.0.4 == | ||
| * It is ensured that the overlay structure is always in the DOM. [[https:// | * It is ensured that the overlay structure is always in the DOM. [[https:// | ||
| - | * An image with an link can be created if the âPopupâ parameter contains false. [[https:// | + | * An image with an link can be created if the âPopupâ parameter contains false. [[https:// |
| * After closing the overlay, the page remains accessible for screen readers. [[https:// | * After closing the overlay, the page remains accessible for screen readers. [[https:// | ||
| == 2025-01-12: Version 2.0.2 == | == 2025-01-12: Version 2.0.2 == | ||
doc/plugins/photoswipe.1746716141.txt.gz · Last modified: by fraenkiman
