[PR #379] [MERGED] RadzenFileInput: Add MaxWith And MaxHeight to resize FileInput Image. #2156

Open
opened 2026-01-29 18:17:29 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/radzenhq/radzen-blazor/pull/379
Author: @david-alonso-su
Created: 2/19/2022
Status: Merged
Merged: 2/21/2022
Merged by: @enchev

Base: masterHead: master


📝 Commits (1)

  • 6af95ab RadzenFileInput: Add MaxWith And MaxHeight to resize FileInput Image.

📊 Changes

2 files changed (+51 additions, -4 deletions)

View changed files

📝 Radzen.Blazor/RadzenFileInput.razor.cs (+15 -1)
📝 Radzen.Blazor/wwwroot/Radzen.Blazor.js (+36 -3)

📄 Description

Create two new parameters to be able to resize image previous to upload.
Inspired in https://imagekit.io/blog/how-to-resize-image-in-javascript/


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/radzenhq/radzen-blazor/pull/379 **Author:** [@david-alonso-su](https://github.com/david-alonso-su) **Created:** 2/19/2022 **Status:** ✅ Merged **Merged:** 2/21/2022 **Merged by:** [@enchev](https://github.com/enchev) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`6af95ab`](https://github.com/radzenhq/radzen-blazor/commit/6af95ab3df03016a75e7a0a6cc3f34c499984906) RadzenFileInput: Add MaxWith And MaxHeight to resize FileInput Image. ### 📊 Changes **2 files changed** (+51 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `Radzen.Blazor/RadzenFileInput.razor.cs` (+15 -1) 📝 `Radzen.Blazor/wwwroot/Radzen.Blazor.js` (+36 -3) </details> ### 📄 Description Create two new parameters to be able to resize image previous to upload. Inspired in https://imagekit.io/blog/how-to-resize-image-in-javascript/ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 18:17:29 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#2156