My go-to photo editor (Canon Digital Photo Professional) gives me independent control of output photo resolution (pixels per row/column) and "quality" (i.e. compression ratio). So I just did a test to see what the tradeoffs might be.
I took the pics below using using a 12 MP DSLR, at the max resolution of 4272 x 2848. The lens was a high-quality Canon EF85mm F/1.8 USM.
I saved the first pic at full resolution, but with the Quality set to 1 (on a scale of 1 - 10). The resulting file size is 1.42 MB, and the forum software uploaded it without complaint. Comparing it to the original photo on my desktop monitors, I can't detect any loss of resolution, even when zoomed way in. But the colors are definitely less vibrant than on the original image.

For the second pic, I left the Quality setting at 10, and cropped the pic to get the file size below 2 MB. The image below wound up at 1.57 MB.

So it appears that the Forum software is enforcing a 2 MB file-size limit, but can currently handle as many pixels as I can muster. However, the colors on that cropped pic still look washed-out in comparison to the source cropped pic, so I suspect that the Forum software is compressing it some more.