Mono Support upload photo in userprofile without browsing (Closed)

Viewed 14919 time(s), 4 post(s), 11/17/2011 7:55:34 AM - by anilarora
11/17/2011 7:55:34 AM
25 Reputation 5 Total posts

hi,
i have to upload photo without browsing...just on click of button "browse" in userprofile i want specific image will be upload on profile photo of user..how can i do this..plzz help me..i am thankful to you for this..

1
11/17/2011 9:21:42 AM
7207 Reputation 956 Total posts

I am not sure that I understand what do you want to achieve... Where will this photo be stored before upload? On the server or on the client side? Will each user has his own photo, or do you just want to have a "placeholder" photo that is displayed when a user doesn't upload his picture?

2
11/17/2011 9:51:39 AM
25 Reputation 5 Total posts

the picture is there @ some other server location (inside our premises)....user will not browse the photo...he will just click on a button...and the profile photo will be uploaded from the other server to monox server...

3
11/17/2011 11:21:45 AM
15993 Reputation 2214 Total posts

I'm closing this issue as we have transferred the topic to Priority support forum.

Our answer was

Hi,

you will need to load the image from other server from code-behind and have it in a binary format e.g. download it with WebClient .NET class, and then you should save it via LLBLGen to UserAvatar entity / table on the Upload button click event.

Let us know if you need anything else.

Regards

4
This is a demo site for MonoX. Please visit Mono Software for more info.