Pergunta

I have the following scenario.

User is trying to update the profile image , I am using uploadify plugin to upload image to server , and in callback I am setting

  <img src="" runat="server" class="user-image" id="uploadedImage" />

SRC attribute to the uploaded path. This part is working good , then when user clicks on Save button , i need somehow to get new picture path and save it to database.

 user.ImageUrl = this.uploadedImage.Attributes["src"];

doen't brings a new picture path , and returns a previous path. Can someone help pls ?

Foi útil?

Solução

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top