show the first attachment image in the right place in the template