[Userscript] Large Image Embedder


#1

Wanikani Forums: Large Image Embedder

This is a script which re-embeds large images which the forums refuses to embed because they are too large. Works for normal images as well as gifs. You should, however, be aware that there is a reason as to why Discourse chooses not to embed these. They are heavy, take time to load, and slow down your experience. It does make life a lot easier, though.

I can’t guarantee this works 100% of the time, but it’s pretty damn close, and if you happen upon a broken image that hasn’t been fixed you just have to scroll up and down a bit until it fixes itself.

TL;DR:
Turn this
image

Into this
image


Available at

https://greasyfork.org/en/scripts/38063-wanikani-forums-large-image-embedder


See also:

Tall Image Expander
Giphy/Pinterest Embedder


[Userscript] Forums: Giphy/Pinterest Embedder
[Userscript] Forums: Tall Image Expander
#2

Has anyone ever told you how much of a godsend you are, Kumi-sama?:heart_eyes:


#3

I may, or may not, have been hiding this from everyone for two weeks 248874616142036992


#4

Not everyone.

6ck2oSH


#5

Just saw it on Greasyfork. This is awesome, thank you Kumi.


#6

+1 for using @Glias 's post for the screenshot


#7

I have been summoned.


#8

This is a very nice userscript. On the other hand, I also have to say that the Discourse 3 MB limitation has forced me to learn a bit about animated gif editing with gifsicle, which is also quite interesting. You can crop the image, control the speed, cut for length, etc. If you don’t mind tinkering a bit with command line tools, gifsicle is pretty cool.


#9

Kumi can I link your script in my user description? It’s actually amazing


#10

Haha, sure!