Domanda

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 ?

È stato utile?

Soluzione

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top