.
Galleries are displayed as a series of images as described above, encapsulated by a
.
===== Captions =====
Captions of the gallery images will be read from a text file "texte.conf" within the gallery directory.
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 "texte.conf" within the gallery directory. If you have the gallery images 1.jpg, 2.jpg and someother.jpg, your texte.conf should look like this:
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 "Gallery Captions" provides a convenient way write captions for gallery images in the FlatPress Admin Area.
==== 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!
div.img-gallery figcaption { display:none; }
===== Download =====
{{ :res:plugins:arvid:photoswipe1.0.6.zip |}} if FlatPress ≤ 1.2.1
{{ :res:plugins:arvid:photoswipe2.0.1.zip |}} if FlatPress 1.3 or 1.3.1
===== Changelog =====
== 2024-12-22: Version 2.0.1 ==
* Fixes the problem that the overlay bottons were displayed in the RSS and Atom feed [[https://github.com/flatpressblog/flatpress/pull/506|(#506)]]