Click here to Skip to main content
15,893,564 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi everyone,

I want to know how to create a change profile picture option in my asp.net website.I want an option in such a way that on clicking that option it should allow the user to browse for an image and it should appear in his profile.It should be dynamic actually.

Any suggestions would help and code also .
Thanks in advance.
Posted
Updated 14-Feb-12 22:12pm
v3
Comments
Sergey Alexandrovich Kryukov 2-Feb-12 0:27am    
ASP.NET? Tag it! Tag it, not just mention. This is important for you. Use "Improve question".

Not clear what could be your problem. Is sounds straightforward. What do you miss: how to upload file? how to replace image file? Scale it? What?
--SA

If you want to change profile picture, you need to click on a button to browse image.

Check these links, which are similar to it

http://www.asp.net/web-pages/tutorials/files,-images,-and-media/9-working-with-images[^]

If user want to browse for an image, you need to use openfiledialog winforms

http://www.dotnetperls.com/openfiledialog[^]

for Asp.net use asp:FileUpload control

http://asp.net-tutorials.com/controls/file-upload-control/[^]


Thanks
SP
 
Share this answer
 
v2

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