Click here to Skip to main content
16,004,479 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
hey can anyone say that how to add default profile image in any social netwok site.........plzzz
Posted
Comments
ZurdoDev 22-Aug-12 12:00pm    
I don't do social network sites but I would assume there is no default for all of them. Wouldn't you need to set one up in each site?
[no name] 22-Aug-12 13:39pm    
Your tags have nothing to do with your question. And your answer is go to farcebook and get their API, read their documentation, write the code to do what you want. Go to google, get their API, read the documentation, write code to do what you want. Repeat for each social site that you want.

1 solution

If I get you correctly, you need to know, in a site, if no profile image is set by user, how the default image comes in place (like an image with white background and text: blnk photo)

Whatever the default image looks in different site, the idea behind it is very simple.
1. You create a blank image
2. Place it in your application folder say image/blank.jpg
3. In code behind - check if any image is saved by user. If no, show the blank image.
{When user saves the profile with image, we normally save the image in a path and keep a reference in data field. So, in this case, you need to check the [path data + image name] in user table to verify whether image exists or not}

Got me!

cheers
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900