This seems like a crude way of doing it, but it is fairly straight forward:

\documentclass{article}
\usepackage{array,graphicx,lipsum}% http://ctan.org/pkg/{array,graphicx,lipsum}
\begin{document}
\noindent\begin{tabular}{@{}p{.5\textwidth}@{}>{\raggedleft\arraybackslash}p{.5\textwidth}@{}}
& My name \\ & My street \\ & My city \\ & My postal code \\
\smash{\includegraphics[height=5\normalbaselineskip]{example-image-a}} & My country
\end{tabular}
\lipsum
\end{document}
I've made the height of the image be equivalent to the height of the name/address portion (5 lines or \normalbaselineskip
s). Inserting the image on the same line as the last entry of your address allows you to use \smash
to avoid any vertical adjustment within the tabular
.
Some components involved in the solution:
\noindent
: Removed the regular paragraph indent inserted when starting a paragraph (note that this happens with the first Lorem ipsum paragraph below the image);
@{}
in the tabular
column specification removes the inter-column spacing inserted usually between adjacent columns like. This space inside a tabular
is given by \tabcolsep
;
>{<stuff>}
: This is a directive offered by the array
package that inserts <stuff>
before the start of the cell. An analogous <{<stuff>}
is also provided (but not used) for inserting <stuff>
after the end of the cell. I insert \raggedleft
to make the cell contents be flush with the right margin. There's also \arraybackslash
which is a correction tool when using the >
and <
directives, re-establishing the functionality of \\
;
p{.5\textwidth}
: Both columns in the tabular
are set in p
aragraph mode/style with a width of .5\textwidth
- half the text block width.
\smash
: removes any vertical height of an object which would otherwise influence the line gap between successive rows in the tabular
.
\normalbaselineskip
: The regular \baselineskip
that is used outside the tabular
environment is captured in \normalbaselineskip
for use inside the tabular
, if needed.
I made the image as high as 5 lines, since my personal details spanned 5 lines.