Additional Info
Package ID
First Created
October 13, 2009, 06:10:38 PM
Last Updated
April 10, 2013, 08:13:39 AM

Resize Attached Images v1.5 / 2.4.1

Automatically resizes attached images to the same dimensions as for posted images.
Compatible With 1.1.10, 1.1.11, 1.1.12, 2.0 RC1.2, 2.0 RC2, 2.0 RC3, 2.0 RC4, 2.0.4
Latest version v1.5 / 2.4.1
Downloads 7,930
Reviews 0
Rating 0/5
Subscribers 62
License (View License)
Automatically resizes attached images to the same dimensions as for posted images.

This mod will resize all attached .jpg, .png, .gif, or .bmp images save them as .jpg. Either as they are being uploaded, or for existing images, when they are viewed. As well, any existing .png, .gif, or .bmp images will be converted to .jpg.


Due to a problem with the mod creating extra thumbnails. I would advise anyone using V1.1 to update to V1.2. As well, upload this script the root of your forums and access it by url to clean up any extra thumbnails

V1.1 Initial release
V1.2 Fixed a bug where extra thumbnails were created
V1.3 Updated for SMF 2.0
V1.4 Fixed a bug with files not being renamed if encrypted file names was enabled before SMF 1.1.9 or 2.0 RC1.1.
V1.5 Minor fixes


Features added in the Attachment settings in the Admin CP.
- The ability to set a max width and height for attached images separately rather than using the values for posted images
- The ability to set the jpeg compression factor.
- The option to save thumbnail either as .jgp or .png. independent of the avatar setting.
- Change existing  .png images back to .jpg.

V2.0.1 Added Russian & Russian-utf8. Thanks to Bugo.
V2.1.1 Fixed a bug with the width on resized images.
V2.2.1 Updated for 2.0 RC4
V2.3.1 Small bug fix. (Thanks to Spuds for noticing it)
Manual installation info
You have to register or login to be able to leave a review
There are currently no reviews on this customization