Search code examples
c#.netasp.net-mvcasp.net-membershipopenid

Openid show images for providers


While trying out the tutorial from

http://mvcrocksonasp.net/OAuthWithMVC4

Followed the instructions to add the facebook.png like so

Dictionary<string, object> facebookExtraData = new Dictionary<string, object>();
facebookExtraData.Add("Icon", "../Images/facebook.png");

But it didn't work so anyone able to get the images on the browser ?


Solution

  • came across zocial and this blog post which addresses this specific question

    http://www.beabigrockstar.com/customizing-external-login-buttons-in-asp-net-mvc-4/

    the sample project is here

    https://github.com/jerriep/CustomizeOAuthLoginBranding

    the final result looks like so

    enter image description here