shibro
Show the version of “A photo upload crops on the face, previews at 96px and states its limits”

Collaboration · SU-346

A photo upload crops on the face, previews at 96px and states its limits

Flip between the version shibroUI flags and the one it ships. The marks and callouts show what changes.

  • Auto-crop cuts the face in half
  • Crop on the face · zoom
  • Choices Save only
  • Preview 96px · live
  • Limits PNG or JPG · 5 MB

What changes

Bad
An automatic centre-crop cuts the face in half, there is no zoom, no preview, no limits shown, and Save is the only choice.
Good
A draggable circle sits on the face with a zoom slider and a live 96px preview; PNG or JPG, up to 5 MB is stated, with Save photo, Cancel and Remove photo.

The rules

  • SU-346

    Image and avatar uploads preview, crop and can be removed. State accepted types and the size limit before the person chooses. After choosing, show the image in a square or circular crop with drag and zoom, a live preview at the real size, Save and Cancel; later, offer Remove. Show the avatar at 96-128px on profile pages with an initials fallback (SU-245). Reject with the specific fix, such as "The selected file must be smaller than 5MB" or "The selected file must be a PNG or JPG".