BoostNote-App icon indicating copy to clipboard operation
BoostNote-App copied to clipboard

Profile photos are not compressed or downscaled in the web app

Open patrickblackjr opened this issue 4 years ago • 1 comments

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.

patrickblackjr avatar Feb 02 '21 20:02 patrickblackjr

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

Rokt33r avatar Feb 22 '21 08:02 Rokt33r