NodeBB Be Be Fucking Yo Avatar Node
-
Me: Hmm, everyone's avatar looks so fucking small. And awful. Like shittily horribly recompressed awful. Look at @fbmac 's avatar. Fucking near illegible. What kinda of ass-licking compression are they using? Is there, like, a pixel size mentioned in the avatar image-- like fbmac46x46.jpg-- so I can pick a different size?
{element inspector}
Weird, there's no image size in the file names. It's just the avatar name. And they all say 46px. That's an odd size. Wait, what's this css declaration-- width, height. I guess it's just redundancy to resize the avatar thumbnail AND put an explicitt css height and width on it. Maybe I can cancel that rule and put in my own--
{clicks CANCEL on height and width rule-- everyone's avatar pops up to full (and different) sizes}
wat wat de fuck? I-- are you fucking serious? Is this piece of shit actually taking literally ANY size image, serving up the fuck-huge image over and over, and using css to resize it to 46x46px? What the fuck? Is this 1999? Do people not know how to do server-size imagemagick or whatever the fuck? Does a NodeBB dev actually not know resizing a huge image with css not only gobbles bandwidth, but looks like literal fucking shit?
ALSO: FIX THE FUCKING COMPOSER WINDOW! I HAVE it AT MAXIMUM HEIGHT, AND IT'S STILL CUTTING OFF THE BOTTOM!
ALSO ALSO: WHAT THE FUCK IS THE POINT OF HAVING THE RED BOOB ON EVERY FUCKING POST AND REPLY?
-
@Lorne-Kates said:
ALSO ALSO: WHAT THE FUCK IS THE POINT OF HAVING THE RED BOOB ON EVERY FUCKING POST AND REPLY?
I don't even know what that thing does. But due to other bugs, I'm not very often in "desktop mode".
Can it even be clicked? What does it do if you click it?
-
@Lorne-Kates posting here for reference
-
@blakeyrat it hides the composer iirc
-
@Lorne-Kates maybe if you had paid attention to the URL you'd have noticed it was a Discourse file that got imported as-is. But if you want, tomorrow I can start going through all 140k users and re-uploading everyone's avatars.
-
@ben_lubar said:
@Lorne-Kates maybe if you had paid attention to the URL you'd have noticed it was a Discourse file that got imported as-is. But if you want, tomorrow I can start going through all 140k users and re-uploading everyone's avatars.
I didn't memorize Discourse's URL structure.
I'm shocked NodeBB doesn't automatically regenerate thumbnails for Avatars and other size-related images. Even Wordpress does that.
-
There is one line for menus, one line for
Please report bugs on the What bugs? tracker.
and one fucking whole line forNew Post
even though only Blakey posts that much! Horizontal real-state is more valuable than that.Ok I stole Lorne's topic to channel one of tidbits
-
@Lorne-Kates Actually... we ought to do that. Make a bug report on our tracker, perhaps?
We didn't before, but I recently did do the initial legwork to resize images on the server. Right now if you upload a forum logo it resizes it to a bunch of sizes for better touch icon support.
We can do the same for avatars. I think there's an option now that limits the profile image dimensions, but we can deprecate that in favour of this.
-
Hey these avatars are pretty big files
oh wow they are pretty big we should set up a CDNHey these avatars are pretty big files
oh wow they are pretty big we should resize them
-
However there is a legit reason for oversize images: retina support.
If you display at 128px (e.g. profile page), you need a 256px version. But having a 256px version for the profile and a 96px version to scale to 48px for the main view, that wouldn't be the worst.
-
@ben_lubar said in NodeBB Be Be Fucking Yo Avatar Node:
But if you want, tomorrow I can start going through all 140k users and re-uploading everyone's avatars.
On Milwaukee PC?
-
@ben_lubar said:
Hey these avatars are pretty big files
oh wow they are pretty big we should set up a CDNHey these avatars are pretty big files
oh wow they are pretty big we should resize themI agree with whatever @ben_lubar just said.
-
@julianlam said:
@Lorne-Kates Actually... we ought to do that. Make a bug report on our tracker, perhaps?
Is that the What Bugs tracker, or is there a base nodebb tracker?
-
@Lorne-Kates said in NodeBB Be Be Fucking Yo Avatar Node:
is there a base nodebb tracker?
-
@Lorne-Kates The what bugs tracker is a proxy tracker just so Been can review stuff in case a bug is the fault of local css or something.
There is a nodebb GitHub tracker. The project is called...NodeBB.
-
@boomzilla said in NodeBB Be Be Fucking Yo Avatar Node:
in case a bug is the fault of local css or something.
Most of them have been either the local CSS or my HTML sanitizer. A few were solved by uninstalling plugins.