2

The following code due to @domenico-camasta

\documentclass{article}
\usepackage{graphicx}
\usepackage{tikz}

\begin{document}

\begin{figure}
    \begin{tikzpicture}
    \node(a){\includegraphics[width=0.8\textwidth]{example-image-a}};
    \node at (a.north east)
    [
    anchor=center,
    xshift=0mm,
    yshift=0mm
    ]
    {
        \includegraphics[width=0.3\textwidth]{example-image-b}
    };
    \end{tikzpicture}
\end{figure}

\end{document}

produces the following result enter image description here

See also Superimpose two images in an article

How do I need to rewrite

a.north east

in the example above if I would like image B to be placed:

1) in the centre of image A

2) in the centre east of image A?

Viesturs
  • 7,895
  • not north east but center east – Viesturs Jun 30 '17 at 18:52
  • Right, so a.east. – Torbjørn T. Jun 30 '17 at 18:57