Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce image size for uploads #54

Open
chaoran-chen opened this issue Nov 1, 2020 · 1 comment
Open

Reduce image size for uploads #54

chaoran-chen opened this issue Nov 1, 2020 · 1 comment
Labels

Comments

@chaoran-chen
Copy link
Member

As a bonus to #53, the frontend app could automatically reduce the size of the images that should be uploaded.

@michael-kamel
Copy link
Contributor

michael-kamel commented Nov 11, 2020

We should take into consideration the fact that the aspect ratio has to be maintained, and thus the user may not be satisfied with the result of the resizing.

Furthermore, if we resize, we probably don't need to check for actual size of the image. For the extreme cases (which are most probably intentional) the backend will reject the request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants