don't know what you tried. There are three different kinds of anchoring options.
In your case I'd go with Above Line.
With my screenshot below from my German InDesign the text frame has a yellow fill color and some insets. The anchor of the image is at the first insertion point in the first paragraph. Also see the offset values in the anchored object options: