collective.externalportrait /

Filename Size Date modified Message
collective
docs
77 B
413 B
309 B
129 B
794 B
29 B
1.0 KB
51 B

Introduction

You can use this product to show avatar pictures of your users from external sites, i.e. from gravatar.

To do this you set a list of URLs where the avatars can be found. The default uses gravatar.

http://www.gravatar.com/avatar/%(emailmd5hash)s?s=200&d=mm

The %(emailmd5hash)s part can be replaced with %(fullname)s, %(home_page)s, %(username)s or any variable that is available from the MembershipTool.getMemberInfo() dictionary on your site. So another example would be

http://my.site.com/%(username)/picture

The product also tries to set the facebookid variable for the MembershipTool.getMemberInfo() dictionary. So, if plonesocial.auth.rpx is installed and the user uses facebook to login, you can also use

https://graph.facebook.com/%(facebookid)s/picture

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.