phpBB 3.2 very much handles reducing file sizes and resizing uploaded images. You can set the max dimensions for both the thumbnails and the full image. The image is resized to whatever you set the max dimensions to. The smaller the dimension the smaller the file size is. Note that on 3.0 uplaoded files are not resized and would require the code changes you linked to. That is probably an old article and if the URL is any indication from 2009.
Note that .jpg images are lossy and you can set the "quality" of the image. This will also reduce the file size but it also reduces the quality of the image. While there is no setting for this in phpBB out of the box a simple edit will suffice.
Open phpBB3 phpbb_root/phpbb/plupload/plupload.php
on line 269 find:
Code: Select all
'resize: {width: %d, height: %d, quality: 85},',
85 is generally the "happy" setting with decent file size reduction and little loss in quality but if you want smaller files you can change the 85 to something like 75, you won't see much difference on most images.
“Results! Why, man, I have gotten a lot of results! I have found several thousand things that won’t work.”
Attributed - Thomas Edison