[Tex/LaTex] Align text and image on the same line

graphicspositioning

According to the two-column example document below, how can you put text and image on the same line? I'm interested in how to insert text at Some text here and more text here with the image right aligned.

Example:

|     #TEXT######################### |     #TEXT######################### |
| ################################## | ################################## |
| ################################## | ################################## |
| ################################## | ################################## |
| ################################## | ################################## |
| #################                  | ################################## |
|                                    |                                    |
|                      ************* | ################################## |
|   Some text here     ************* | ################################## |
|                      ************* | ################################## |
|                      **IMAGE.JPG** | ################################## |
|   more text here     ************* |                                    |
|                      ************* | ################################## |
|                      ************* | ################################## |
|                      ************* | ################################## |
|                                    |                                    |
|     #TEXT######################### | ################################## |
| ################################## | ################################## |
| ################################## | ################################## |
| ################################## | ################################## |
| ################################## | ################################## |
| #################                  | ################################## |

Best Answer

Since you mention the need to precisely position the text, may I suggest using TikZ? Here's an example that uses one node for the image, and two nodes placed using the positioning library to have a horizontal gap of 5 mm to the image, with their vertical centers positioned 5 mm and 23 mm below the top of the image:

enter image description here

The image is taken from Wikipedia

\documentclass[twocolumn]{article}
\usepackage{tikz,lipsum}
\usetikzlibrary{positioning}
\begin{document}

\lipsum[1]

{
\raggedleft
\begin{tikzpicture}
\node (bottle) {\includegraphics{normflasche}};
\node [left=0.5cm of bottle.north west, yshift=-5mm] {Cap};
\node [left=0.5cm of bottle.north west, yshift=-23mm] {Pearls};
\end{tikzpicture}

}

\lipsum[2-6]
\end{document}