v1.7.0
Pro: smart albums that fill themselves from rules. Free: an albums overview for your pages.
Added
Smart albums (Pro). An album that fills itself from rules: name or alt text contains, tag, alt text missing or filled in, shape, uploaded on or after / on or before a day, or in one of your normal albums, matching all or any of them. New uploads that match join by themselves. Add to album pins an image to the top, Remove from album keeps one out, and Make it a normal album keeps the images it has now. The New and Edit album dialogs show how many images would be in it as you set the rules. Pages show smart albums like any other album, and they keep working if the licence lapses.
An albums overview for your pages (free):
albums.twigshows a grid of album covers, names and photo counts, each linking to a page per album (link: '/gallery/{id}'). The README shows the Site Builder page for one album.Albums from the Twig functions now include
coverImage(the cover's image object) andsmart.
Fixed
The README's "Build your own" example passed an image id to
cms.media.imagePath(); it now usescoverImage.