MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

upload photo in userprofile without browsing (Closed) (Mono Support )

Viewed 9708 time(s), 4 post(s) 11/17/2011 7:55:34 AMby anilarora
anilarora

anilarora

11/17/2011 7:55:34 AM
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..
This content has not been rated yet. 
25 Reputation 5 Total posts
denis

denis

11/17/2011 9:21:42 AM
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?
This content has not been rated yet. 
7207 Reputation 956 Total posts
anilarora

anilarora

11/17/2011 9:51:39 AM
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...
This content has not been rated yet. 
25 Reputation 5 Total posts
khorvat

khorvat

11/17/2011 11:21:45 AM
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

This content has not been rated yet. 
15993 Reputation 2214 Total posts