ThumbGallery plugin. Creating a gallery of the attached pictures
ThumbGallery plugin designed to create galleries of the attached files on wiki pages.
ThumbGallery 1.4.1 Δ (Required OutWiker version: 3.0.0.868 and above)
ThumbGallery 1.6 (Required OutWiker version: 3.2.0.904 and above)
Using
ThumbGallery plugin adds a command (:thumbgallery:) into the wiki notation. This command can operate in two modes: show all attached images or only selected files. To facilitate the use of commands when you click on the plugin button Attach:gallery.png Δ (or by selecting the appropriate menu item) to open the dialog shown in the following figure:
The syntax of the command (:thumbgallery:) to show all attached images as follows:
(:thumbgallery [params]:)
(:thumbgallery:) command can take the following parameters:
- cols = ... An integer value. The number of columns in the table. If cols = 0 or not specified, then the gallery will be a sequence of thumbnails without splitting into rows and columns.
- px = ... An integer value. Specifies the size of the thumbnails (on the larger side). If px = 0, or the parameter is not specified, the default value from the program settings.
In the gallery you can also place the selected images, this is the following syntax:
(:thumbgallery [params]:) [Attach:]picture_1 [| Comment] [Attach:]picture_2 [| Comment] ... (:thumbgalleryend:)
Possible parameters in this case are the same as described above. Comments on the use of images is not required. Also, do not necessarily write Attach: before the file name.
Examples
More clearly using the command (: thumbgallery :) will be seen in the following examples.
Creating a gallery from the specified files without splitting into columns
Attach:"DSC_0457.jpg"
Attach:"DSC_0487.jpg"
Attach:"DSC_0518.jpg"
Attach:"DSC_0595.jpg"
Attach:"subdir/subdir2/DSC_0124.jpg"
Attach:"subdir/subdir2/DSC_0126.jpg"
Attach:"subdir/subdir2/DSC_0129.jpg"
Attach:"subdir/DSC_0679.jpg"
Attach:"subdir/DSC_0684.jpg"
(:thumbgalleryend:)
Creating a gallery from the specified files with a splitting into columns and specifying the thumbnail size
Attach:"DSC_0457.jpg"
Attach:"DSC_0487.jpg"
Attach:"DSC_0518.jpg"
Attach:"DSC_0595.jpg"
Attach:"subdir/subdir2/DSC_0124.jpg"
Attach:"subdir/subdir2/DSC_0126.jpg"
Attach:"subdir/subdir2/DSC_0129.jpg"
Attach:"subdir/DSC_0679.jpg"
Attach:"subdir/DSC_0684.jpg"
(:thumbgalleryend:)
Creating a gallery from the specified files with a splitting into columns and captions for pictures
Attach:"DSC_0457.jpg" | First comment
Attach:"DSC_0487.jpg" | Second comment
Attach:"DSC_0518.jpg"
Attach:"DSC_0595.jpg"
Attach:"subdir/DSC_0679.jpg" | Yet another comment
Attach:"subdir/DSC_0684.jpg"
(:thumbgalleryend:)
Creating a gallery from all attached files, ignoring files in subfolders without splitting into columns
*
(:thumbgalleryend:)
or
*.*
(:thumbgalleryend:)
or
Attach:"*"
(:thumbgalleryend:)
Creating a gallery from all attached files, taking into account files in subfolders without splitting into columns
**/*
(:thumbgalleryend:)
or
Attach:"**/*"
(:thumbgalleryend:)
Create a gallery from all files in a subfolder (not including nested subfolders)
subdir/*
(:thumbgalleryend:)
or
Attach:"subdir/*"
(:thumbgalleryend:)
Create a gallery from all files in a subfolder, including nested subfolders
subdir/**/*
(:thumbgalleryend:)
or
Attach:"subdir/**/*"
(:thumbgalleryend:)
Creating a gallery from files selected by mask
*.png
(:thumbgalleryend:)
or
Attach:"*.png"
(:thumbgalleryend:)
Enjoy the use of plugin!
Versions history
1.6
1.5 (May 28, 2022)
- Added the supporting subdirectories in attachments.
1.4.1 (July 04, 2021)
- Code optimization.
1.4 (October 19, 2019)
- Migrate to new API.
1.3 (August 26, 2018)
- Add German localization.
1.2.1 (May 26, 2018)
- Updated the Ukrainian localization.
1.2 (February 15, 2018)
- Add OutWiker 2.1 support. Migrate to Python 3.
1.1.5 (October 17, 2016)
- Added OutWiker 2.0 supporting.
1.1.4 (August 20, 2016)
- Added the Swedish translation.
1.1.3 (May 30, 2016)
- Bug fixes.
1.1.2 (January 20, 2015)
- Minor interface improvements.
- Cleanup code.
1.0 (July 03, 2012)
- The first version.
Вы можете подписаться на новости сайта через RSS, Группу Вконтакте или Канал в Telegram.