A page in your DokuWiki was added or changed. Here are the details: Date : 2018/02/21 16:45 Browser : Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0 IP-Address : 80.214.25.217 Hostname : 80.214.25.217 Old Revision: http://ltb-project.org/documentation/white-pages/0.2/config_photos?rev=1519151152 New Revision: http://ltb-project.org/documentation/white-pages/0.2/config_photos Edit Summary: User : coudot
@@ -21,5 +21,24 @@ It is possible to resize all photos to a defined width and/or height: <file php> $photo_fixed_width = 240; $photo_fixed_height = 240; + </file> + + ==== Local photos ==== + + This is possible to load a local photo from file if photo is not found in LDAP directory. + + Directory where photo are stored (relative to htdocs/ directory): + <file php> + $photo_local_directory = "../photos/"; + </file> + + LDAP attribute that is used as photo file name: + <file php> + $photo_local_ldap_attribute = "uid"; + </file> + + File extenstion (with the dot): + <file php> + $photo_local_extension = ".jpg"; </file> -- This mail was generated by DokuWiki at http://ltb-project.org/
_______________________________________________ ltb-changes mailing list ltb-changes@lists.ltb-project.org https://lists.ltb-project.org/cgi-bin/mailman/listinfo/ltb-changes