Question

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 ?

Was it helpful?

Solution

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top