Back to Wtyczkis

Drag Tag n' Album

albums tags

Revision 16.4.0

1 week ago
106
Compatible with the latest version of Piwigo
sobota 25 lipiec 2026 3 weeks ago

Drag Tag n' Album

Filing photos in Piwigo means opening the album picker, searching the tree, and confirming — every time, for every photo. If you're sorting a batch into the same handful of albums, that's the same several clicks over and over.

This plugin puts a small panel on the edge of the screen listing the albums (or tags) you actually use. Drag a photo onto one and it's filed. No picker, no page reload, no leaving the page you were browsing.

Where it works
- Gallery album pages — where you're already browsing photos
- The Batch Manager's thumbnail grid
- The photo Properties page

Albums or tags
A switch selects which you're filing. For albums, a second switch chooses Add (link the photo, leave its current albums alone) or Move (remove it from its others). Add/Move resets to Add on every page load, so a forgotten Move can't quietly pull photos out of albums. Tags have no move — dropping on a tag appends it and leaves existing tags intact.

A list you arrange
Pick albums or tags with the built-in search; drag the handle to order them however you like. Your arrangement is yours — using an entry doesn't promote it, and new picks land at the bottom rather than displacing what's at the top. Remove an entry with the ×.

Per-user, no database tables
Each administrator gets their own list, persisted across sessions in Piwigo's existing user preferences. The plugin creates no tables and leaves nothing behind but a few bytes when removed.

Administrators only
The panel renders for admins alone, and every action goes through admin-only web-service methods. Visitors never see it.

Settings
How many entries to keep, which mode to open in, which side of the screen to sit on, and which pages to appear on.

Filing reuses Piwigo's own pwg.images.setCategory and pwg.images.setInfo, so it inherits core's permission and token handling rather than reimplementing it. No core template files are modified.

Read more ... Read less

Revisions 4

Wersja 16.4.0

Released on czwartek 6 sierpień 2026

30

Compatible with Piwigo 16

1 week gregbosen

## 16.4.0

- **Album search now matches the full path**, not just an album's own name. In a deep tree the old behaviour was actively misleading: the results list showed "2026 / August", but typing that found nothing, because no single album is named it. Terms are ANDed and order-independent, so `2026/August`, `2026 August` and `aug 2026` all reach the same album. Reported by Neon on the forum, whose year/month structure made the picker unusable.
- **An album can be found by its id.** Type a bare number and it resolves directly — the unambiguous fallback when a name is duplicated across the tree.
- **Search results are ranked rather than arbitrary.** A term matching an album's own name outranks one matching an ancestor, so searching `2026 August` puts the August album above the 2026 parent containing it. This matters because the list is capped: without ranking, the album you wanted could be the one cut.
- Fixed: the result list silently stopped at 12 entries. With one album per year, a search for "August" returned an arbitrary twelve and dropped the rest with nothing to say so — indistinguishable from the album not existing. The cap is now 40, and overflow is stated outright ("Showing 40 of 412 — refine your search").
- **Corner flags are now notched ribbons rather than triangles.** A triangle only reads as a flag when it sits exactly on the corner; themes anchor thumbnails differently, so it did not always land there. The new shape keeps its outline wherever it falls, and is smaller than the triangle it replaces. The letter (T/A/M) now sits inside the flag rather than being positioned on top of it.

Wersja 16.3.0

Released on wtorek 28 lipiec 2026

19

Wersja 16.2.0

Released on sobota 25 lipiec 2026

31

Wersja 16.1.1y

Released on sobota 25 lipiec 2026

26