My gigantic avatars are not working!

Dear Gentleman, @codinghorror @sam
We are having an issue on iPads too. The avatars won’t show on iPads, but show everywhere else (phones, laptops, PCs).

Here’s a snapshot from my iPad Air 2. (My friend also can’t see avatars on his iPad either, so it’s not just me)

Thanks in advance for looking into this.
Have a pleasant day,
Trish
Edit to add: Before the last update, I used my iPad and the avatars showed just fine, if that helps.

Yeah, you have a site customization there that is asking for gigantic avatars.

https://d11a6trkgmumsb.cloudfront.net/user_avatar/meta.discourse.org/sam/360/5243_1.png

works but

https://d11a6trkgmumsb.cloudfront.net/user_avatar/meta.discourse.org/sam/600/5243_1.png

@zogstrip there is a hardcoded

in avatars controller, perhaps we should allow up to 1000 ? It just results in a redirect anyway

return render_blank if size < 8 || size > 500
2 Likes

@Rainbowresidue one easy fix on your side would be to stop asking for 600px sized avatars :), I doubt anyone is uploading that resolution.

Also, when you ask for an avatar in an unsupported size you get a redirect, which hurts perf.

1 Like

Thanks Sam,

But the avatars were requested by members. Lots of forums use this size. (We have to keep up with the competition.)
Quite frankly, it worked before without any issues, only stopped showing on iPads after the last update.

I am fine to lift the 500px restriction

1 Like

Thank you very much, I think that would help our I.T. gents. :slight_smile:

Just pushed a fix :rocket:

6 Likes