Site complaints about profile picture not being a square

Issue Summary

  • Trying to upload a profile picture for the activitypub profile causes it to complain about it not being a square
  • I expected it to take any picture no matter if it’s a square or not

Steps to Reproduce

  1. Try to upload a profile picture for the activitypub profile
  2. Watch it complain about it not being a square

Setup information

Ghost Version
6.0.4

Node.js Version
IDFK whatever version is bundled in with the official docker compose image

How did you install Ghost?
Official Docker compose installation

Database type
mysql8

Browser & OS version
Windows 11 Enterprise 24H2 and Chrome Version 139.0.7258.128 (Official Build) (64-bit)

Relevant log / error output

image

If the image you upload is really not square, then this is not a bug. If so, you can send a suggestion in Ideas category to accept non-square images as AP avatars.

OK by a square the application really wants you to open up photoshop take your photo and literally make it pixel perfect where height matches length and if it’s one pixel off it will reject it. is that really intended behavior? Because this seems like a handicap the developers put into it to inconvenience people because almost every application on earth accepts profile pictures that don’t have to be a square

A more complete solution would be to allow cropping on upload. Though as a content creator, it’s reasonable to expect that one knows how to create a 1:1 image if it’s required.