We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5d0dea commit d865468Copy full SHA for d865468
examples/member/badge.html
@@ -28,8 +28,9 @@
28
profHTML = "<p>You are not logged in</p>";
29
}
30
else {
31
+ var pictureUrl = profile.pictureUrl || "http://static02.linkedin.com/scds/common/u/img/icon/icon_no_photo_80x80.png";
32
profHTML = "<p><a href=\"" + profile.publicProfileUrl + "\">";
- profHTML = profHTML + "<img align=\"baseline\" src=\"" + profile.pictureUrl + "\"></a>";
33
+ profHTML = profHTML + "<img align=\"baseline\" src=\"" + pictureUrl + "\"></a>";
34
profHTML = profHTML + " Welcome <a href=\"" + profile.publicProfileUrl + "\">";
35
profHTML = profHTML + profile.firstName + " " + profile.lastName + "</a>! <a href=\"#\" onclick=\"IN.User.logout(); return false;\">logout</a></p>";
36
0 commit comments