Alright, I've updated it to 0.0.5
and now it handles both inline and fixed-size index thumbnails. The thumbnails on the index get cropped to fit the hard dimensions of the squares and maintain the correct aspect ratio. In the case of inline images, they just get scaled to 50% of the original size with no constraint on the height.
shazbot
Alright, those index thumbnails are confined to a 220x145 square, so we can handle those separately by using the cover
method of the object-fit
property to scale them. Give me a minute to update it...
I was kind of leery of making this global because I didn't want it to affect thumbnails on the thread index, since they must be confined to a finite area, whereas in a thread they can flex downward. (The fetched image can be an arbitary size.) But it looks like they don't use the same selector, so should be safe.
Edit: I've updated it to support thread index, inline images, and profile pages and the differing aspect ratios
Your link is pointing to a playstation 2 youtube video
Affects inline images in posts, not thumbnails in the thread index
I've updated the help file with screenshots and a more step-by-step walkthrough of how to install, hope this helps.
Feels like we are due for making a megamod combining these fixes
Sorry if that was unclear. If you look at the dependencies at the top of the instructions, you need the Stylus extension. I believe it's only available in Firefox and Chrome. Once you have the extension installed, navigating to scripts like that one will bring up an install menu that lets you load the script and choose the parameters you want. It looks like this
I'll update the README tomorrow to make this clearer.
I've taken a stab at a client-side theme here that should be easy for people with zero technical literacy to install. The main goal was to parameterize the options and create a more forumlike layout. This is merely a stopgap measure, but has greatly improved the readability for me.
See my script above, I have updated it to handle both cases (index thumbs and inline)