Tiny Gallery Insert is a simplified version of the GalleryInsert plugin. It lets you publish several images in a post in one step.
Images can be reordered by mouse drag and drop.
<tgi-gallery path="photos" images="a.jpg;b.jpg" thumb="t"></tgi-gallery>, shown in CKEditor as an editable block. Text tag: the legacy ::gallery ...:: syntax. Both syntaxes are always rendered on the public side, so existing posts keep working whatever you choose.Click the Tiny Gallery Insert button in the post editor, choose a media directory and an image size, then select several pictures or add the whole directory. Shift-click a picture to select the whole range since your last click. You can drag and drop thumbnails to set their display order. A single gallery marker is inserted into the post; the gallery itself is built on display from the media library.
The button is available in CKEditor (including its Source mode) and in every mode of the legacy editor: wiki, HTML, Markdown and WYSIWYG. In the wiki syntax, the element is automatically wrapped in a ///html … /// block.
Each gallery appears as a block ("Image gallery — directory · N picture(s) · thumbnails: size") that can be selected, moved, copied or deleted as a whole. Double-click it (or press Enter while it is selected, or click the Tiny Gallery Insert button): the selection window opens pre-filled with the directory, the pictures in their current order and the thumbnail size; confirming updates the gallery in place.
path. for the root). Alone, it means the whole directory.images;, in display order.ids; (equivalent of the legacy img=).thumbsq, t, s or m (default: plugin setting).linko (original image, default), a thumbnail size, or none.If Dotclear's HTML filter is enabled (system setting enable_html_filter, editable with the aboutConfig plugin), every unknown tag — including <tgi-gallery> — is removed when a post is saved. The plugin then falls back to the ::gallery ...:: text tag automatically: the insertion window uses it, and any element still present in a post or page is converted when it is saved. A warning is shown on the settings page.
When the viewer is enabled, clicking an image opens LC Lightbox LITE. Images from the same gallery are grouped so visitors can navigate previous/next. The bottom bar can display thumbnails, and the interface provides features such as zoom, slideshow, fullscreen and touch controls depending on the device and available options.
The navigation thumbnails use Dotclear's s thumbnail when available, producing a sharper result than the sq thumbnail. If s is unavailable, Tiny Gallery Insert falls back to the thumbnail selected for the gallery.