Copying and pasting an image directly into a post is broken on XF 2.2.12. Attaching the image from a file works fine. Reported at XenForo.