You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need a function that will resize any images that are over a pre-defined maximum dimension.
This function should be triggered from a blob upload. The method would take the image and, if it's larger than the allowed maximum in either dimension, resize the image to the maximum dimension while preserving the aspect ratio.
There should be a setting called maxDimension that is the constraint used to resize the image that can be set from local.settings.json (and ultimately in the Azure Functions deployment).
Activity
jefking commentedon Feb 28, 2018
You can fork this code: https://github.com/jefking/fl-image-resize
HTBox#3 Process Uploaded Images