[GH-ISSUE #774] Profile photos are not compressed or downscaled in the web app #404

Closed
opened 2026-03-03 00:20:53 +03:00 by kerem · 1 comment
Owner

Originally created by @patrickblackjr on GitHub (Feb 2, 2021).
Original GitHub issue: https://github.com/BoostIO/BoostNote-App/issues/774

Originally assigned to: @Rokt33r on GitHub.

Current behavior

image
I uploaded a fairly large profile photo (2.84 MB) and the tiny preview seen in the screenshot does not seem to be downscaling. The first time I loaded the page after uploading the profile photo I could see it take a while to load. Snooping around in the dev tools seems to confirmed it's using the native resolution photo and just scaling it 20px^2.

Expected behavior

Just so the API and file storage is not clogged with tons of huge photos, some sort of limits on the size might be a good idea.

Steps to reproduce

  1. Upload a profile photo
  2. View any page where the profile photo is used and see that is it using the full-size image

Environment

Desktop/Web

  • Boost Note.next version: Web App
  • OS version and name: Windows 10

I look forward to being able to contribute, but since this potentially is a larger infrastructural change I figured it warranted a mention and discussion amongst the code owners.

Originally created by @patrickblackjr on GitHub (Feb 2, 2021). Original GitHub issue: https://github.com/BoostIO/BoostNote-App/issues/774 Originally assigned to: @Rokt33r on GitHub. # Current behavior ![image](https://user-images.githubusercontent.com/13282318/106656823-cfa69a00-6560-11eb-92a0-a362cdfbd8a7.png) I uploaded a fairly large profile photo (2.84 MB) and the tiny preview seen in the screenshot does not seem to be downscaling. The first time I loaded the page after uploading the profile photo I could see it take a while to load. Snooping around in the dev tools seems to confirmed it's using the native resolution photo and just scaling it 20px^2. # Expected behavior Just so the API and file storage is not clogged with tons of huge photos, some sort of limits on the size might be a good idea. # Steps to reproduce 1. Upload a profile photo 2. View any page where the profile photo is used and see that is it using the full-size image # Environment ## Desktop/Web - Boost Note.next version: Web App - OS version and name: Windows 10 I look forward to being able to contribute, but since this potentially is a larger infrastructural change I figured it warranted a mention and discussion amongst the code owners.
Author
Owner

@Rokt33r commented on GitHub (Feb 22, 2021):

Thanks for reporting. I'll report to our dev team so we can fix it soon.

<!-- gh-comment-id:783196615 --> @Rokt33r commented on GitHub (Feb 22, 2021): Thanks for reporting. I'll report to our dev team so we can fix it soon.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/BoostNote-App#404
No description provided.