fix layout of attachment image