☰

F95 Constrain Images

Shrink large images to a reasonable size.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Author
Edexal
Daily installs
0
Total installs
5
Ratings
0 0 0
Version
1.0.2
Created
2026-10-31
Updated
2026-11-03
Size
1.84 KB
License
Unlicense
Applies to

Summary

Shrink large images to reasonable sizes.

There are times when users post extremely large images which take time to scroll past. This script shrinks these images to smaller sizes.

Configurations

If you do not like the defaults, modify the script.

Variables

  • maxHeightAllowed -> Max image height allowed before a resize is triggered for an image.
  • maxWidth -> Max image width when resize is triggered. In other words, the new image width will not be larger than the maxWidth.