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.
And shows a lightbox when any image is clicked.
- 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. - Proper thumbnailing for imgur images.
- Clicking on images will open a lightbox.
- 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 userscripts. 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.