umbraco/OurUmbraco

Avatars are squeezed on community site

Closed this issue · 8 comments

Detailed description

Not specific an issue on Our, but on https://community.umbraco.com/learn-about-the-community/karma-leaderboard/ where Community menu item on Our links to https://community.umbraco.com/

Feel free to report this to the right team and close this if there's another place this should be reported 😁

It should probably crop the image first and scale would be ideal too, so it doesn't load an image of 1500 × 1125 px 😅

image

Alternatively it could use the cropped image from Our: https://our.umbraco.com/media/upload/559936fe-4ff0-45f3-857a-115a6bc80f65/_MG_9991.jpg?width=100&height=100&mode=crop&upscale=true

Hey @bjarnef, can you assign this issue to me.

@OussamaSALAHOUELHADJ I don't have access to that feature in this repository, but you are welcome to have a look.
I guess there is a private repository for the https://community.umbraco.com/ site.

@bjarnef so I just need to fork this repo and work on the issue?

No it's not possible to fix, it's happening in a private repo.

Ok, I see what you mean, just to help you, i think it is a simple bug:
the image request must have a query string parameters for the height and the width.

Current request:
https://our.umbraco.com/media/upload/{IMAGE_ID}.jpeg

image

Must be:
https://our.umbraco.com/media/upload/{IMAGE_ID}.jpg?width=125&height=125&mode=crop&upscale=true

image

Thanks, yep, we're working on it. :)

This has now been fixed, thanks for reporting!

@nul800sebastiaan speaking about the community site I noticed the HQ, Admin and C-Trib badges on Our no longer link correct, e.g. from Warren here: https://our.umbraco.com/packages/website-utilities/our-umbraco-taghelpers/

The Admin badge links to https://community.umbraco.com/umbracians-in-action/badges/#admin
The HQ badge links to https://community.umbraco.com/umbracians-in-action/badges/#hq
The C-Trib badge links to https://community.umbraco.com/umbracians-in-action/badges/#c-trib

The pages was probably moved. Btw. a nicer 404 would be great 😁