This is a userscript for StackExchange chat. It replaces all direct links to images in starred messages widget with thumbnails of said images.
It also shows the star counter on hover and allows you to star/unstar images.
- Oneboxed images in chat will become thumbnails.
- Add or remove stars normally. The star button appears on hover.
- Linked images in the form of
[text](image link)
(assuming nothing else on the message) will become thumbnails withtext
being atitle
on the image. - Images from
googledrive.com
will be properly thumbnailed with the_thumb
suffix. Link will lead to full size image. (This is a thing specific to our chat room.)
- Proper thumbnailing for imgur images (use the
s
orm
suffix to save bandwidth) - Accepting suggestions in answers below.
You can find the repository that holds the code can be found here. To install, you must be able to run user scripts. Chrome does this by default (or with Tampermonkey) and Firefox does this with Greasemonkey.
Please note that this is still under development, and not all features are guaranteed to work properly.