Base solution for your next web application
Open Closed

Profile picture increase file size #2055


User avatar
0
rvanwoezik created

I want to increase profile picture size, I have changed the following

file.ContentLength in ProfileController.cs (both public JsonResult UploadProfilePicture() and public virtual async Task<JsonResult> ChangeProfilePicture() in changePicture.js i have increased File size check.

But i still get validation error after resize, Please advise!


2 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    You also need to change UpdateProfilePicture method of ProfileAppService.

  • User Avatar
    0
    rvanwoezik created

    Thnx Ismcagda, that did the trick. You're the greatest