Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Process Uploaded Images #3

Copy link
Copy link
@MisterJames

Description

@MisterJames
Issue body actions

Users can currently upload images through the CampaignController and EventController via the IImageService. The implementation is here: https://github.com/HTBox/allReady/blob/a0084d88cf5cbc1a14c7df0ec8c43119beff3ecc/AllReadyApp/Web-App/AllReady/Services/ImageService.cs

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).

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.