About: Plugin to enable simple sharing of private albums.
For any private album, you can generate a unique URL that you can share with the users you trust in enough to browse an album. No user nor password is required by default for visitors of this trusted link.
The plugin will allow you to share entire albums (where individual pictures visibility is 'everybody'. Pictures with restricted visibility to admin only, family, contacts specific, will not be displayed through the shared link)
Compatible with: 2.9
Available languages: 2 (see)
Version 0.2 early release, please consider as a beta version and do not use it for production
Fixed package which incorrectly deployed in previous version.
Compatible with the Piwigo 2.9.1
Tested with the following themes : Bootstrap Darkroom, Bootstrap default, clear, dark, elegant
Not tested with a lot of other plugins activated, especially those interacting with URL arguments
# How does the plugin work
From each private album, there's a new "Share" sub menu displayed on the category (album) page.
From this menu, you can share this album.
One shared, you are provided with a unique http(s) link giving access to this album.
Behind the scene :
* A unique Piwigo user is created with a random password assigned. By default, user type is set to 'generic'
* This user is granted to browse the selected (and only) category album. When logging with the specific link, the user is logged in and redirected
Requirements to share an album :
- The share function can only be managed by Administrator users
- The share function is only available for private albums
# Todo list / Upcoming features
* Event handler on user deletion to remove the associated album share (in case of deletion of a auto generated user by an administrator)
* Cleanup code, better error handling
* An decent administration / configuration interface
* List of the currently shared albums and associated actions (regenerate link, cancel share)
* Option to remove the menus from user interface, especially to hide Identification menu
* Option to share an album for n days instead of forever
* A sanity check function which checks that shared albums, associated users, users granted visibility, etc... are coherent