Truncated markup can be displayed in forums user profile view

FOR-581
This function tests with one more than numberOfImages; I think it would be clearer if it just used numberOfImages and didn't allow 0.