Automattic / Automattic/gravatar

Unable to save profile after changing custom background image size

Open
#238 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
361
Forks
125
PR merge metrics
No merged PRs in 30d

Description

# Bug Report

## Description / Observed Behavior
If you upload a custom background image and use the "Image size" option to rescale the image, it gives you the error "unable to save profile design" by every setting over 100%

I have tried changing with Chrome and Firefox it dosen't matter which browser I use it always gives me the same error when rescaling a custom background image.

## Expected Behavior

How did you expect the component or service to behave here?

When rescaling a custom background Image the user should be able to save the profile design.

## Repro Steps / Code Example

Share the steps to reproduce the issue, screenshots, or a [CodeSandbox](https://codesandbox.io) link is also appreciated!

Image

## Your Environment
- Platform: [Web]
- Operating System / Browser: [Windows,/ Chrome, Firefox]

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue in the web profile editor: upload a custom background image, set Image size above 100%, and attempt to save. Inspect the save request and resulting error, then verify that the profile design saves successfully at every supported size.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.