Skip to content

Commit

Permalink
Merge pull request #5341 from skamphuis/feature/5339-CKE-Upload-image…
Browse files Browse the repository at this point in the history
…-smaller-than-upload-resize-dimensions

5339 Handle upload for image smaller than configured resize dimensions
  • Loading branch information
mitchelsellers authored Nov 8, 2022
2 parents d551948 + 6706d64 commit 3022acc
Show file tree
Hide file tree
Showing 2 changed files with 280 additions and 270 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2494,6 +2494,11 @@ private void UploadFile(HttpPostedFile file, string command)
}
}
}
else
{
// fits within configured maximum dimensions
FileManager.Instance.AddFile(currentFolderInfo, fileName, file.InputStream);
}
}
}
}
Expand Down
Loading

0 comments on commit 3022acc

Please # to comment.