wrap images in paragraphs