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).
The text was updated successfully, but these errors were encountered:
Users can currently upload images through the
CampaignController
andEventController
via theIImageService
. The implementation is here: https://github.com/HTBox/allReady/blob/a0084d88cf5cbc1a14c7df0ec8c43119beff3ecc/AllReadyApp/Web-App/AllReady/Services/ImageService.csWe 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 fromlocal.settings.json
(and ultimately in the Azure Functions deployment).The text was updated successfully, but these errors were encountered: