Put a Reference for a Graphic in Beamer

Try to put reference immediately below picture like this:

\begin{frame}
\includegraphics[width=\linewidth]{example-image}\\[-1ex]
{\tiny Source: \cite{foo12}}
\end{frame}