Often you can get text to wrap around images using the "float" command in CSS. Another trick: set the image in its own paragraph with "leading" set to zero.g
Generally, it is recommended that all images be in-line and in their own paragraphs, to display properly in all readers. [sigh.]
I create
professional ePub book formatting for self-published writers, and am happy to help if you need it.