Gallery menu
The gallery feature list all photos with the user’s names.
The gallery is displayed in menu.
Activation
Enable or disable this feature :
$use_gallery = true;
Warning
You should not enable this feature on a large directory as all (or a lot of) entries are displayed.
Display
Set which item is used as footer title :
$gallery_title = "fullname";
Set on which item results are sorted :
$gallery_sortby = "lastname";
Define bootstrap column class :
$gallery_bootstrap_column_class = "col-xs-6 col-sm-4 col-md-3";
Truncate title to fit in box foot :
$gallery_truncate_title_after = "25";
Filter
Gallery page uses the default LDAP user filter. But you can override it, for example to display entries that have the jpegPhoto attribute :
$gallery_user_filter = "(&".$ldap_user_filter."(jpegPhoto=*))";