Via FTP: Upload the gallery_user/ directory into /plugins/.
Via package manager: Select gallery_user from the available plugins list.
Paths:
- Main plugin:
/plugins/gallery_user/gallery_user.php - Relies on the library:
/plugins/gallery_handler/lib/gallery_handler.lib.inc.php
Configuration parameters:
| Variable | Default | Description |
|---|---|---|
| $basedatadisplay | 'no' | Hidden from the management interface |
| $basedisplevel | BASE_LEVEL_USER | Available to logged-in users |
| $ftype | 1 | Content module |
| $cfg[13] | gif, jpg, jpeg, png, webp | Allowed image formats |
| $cfg['user_gallery_max_filesize'] | 5242880 (5 MB) | Max file size |
| $cfg['user_gallery_max_width'] | 1920 | Max width (px) |
| $cfg['user_gallery_max_height'] | 1920 | Max height (px) |
| $cfg['user_gallery_private'] | true | Galleries private by default |
Upload limits are intentionally stricter than those of gallery_handler.