magicstone-dev / ecko

Community-driven fork of Mastodon's federated social network software
https://magicstone.dev
GNU Affero General Public License v3.0
54 stars 10 forks source link

Problem: Mascot images are cropped to a different ratio than specified image size #459

Open politas opened 1 year ago

politas commented 1 year ago

The Site Settings page has the following: Mascot image Displayed on multiple pages. At least 293×205px recommended. When not set, falls back to default mascot. Loading up an image with that ratio, eg: image Leads to the server's About page showing that image with the bottom cropped out: image

Either we should display the mascot image sized to fit within both X and Y dimensions, or we should provide the correct image ratio on the Site Settings page in order to prevent cropping.

weex commented 1 year ago

Confirmed. Pretty odd to be so specific about size and then crop it.

politas commented 1 year ago

Yes, and trying to use a different ratio image to make it fit in doesn't help. It scales the image to the desired height, then crops the result!