What happens when a user uploads some images they want displayed inline along with a PDF document?
The following two posts are an example of when files of different types are uploaded in a mixed order, and displayed using the forum attachment display setting of GROUPED vs INLINED
The Attachment Manager screenshot