[Tex/LaTex] How to insert “source” below image

captionsfloatspositioning

I have to mention the source of the image that I am using in my text.

enter image description here

How can I write the source below any image just like its shown in the above figure? I don't want to mention the source alongside caption. I am using following code for inserting images and it would be helpful if anyone can tell the codes for writing source which is compatible with this one:

\begin{figure}[ht]
\includegraphics[width=\linewidth]{image}
\caption{Letter e}
\end{figure}

I have seen Add source to figure caption but it doesn't help much.

Best Answer

\documentclass{article}
\usepackage{graphicx}
\usepackage[x11names]{xcolor}

\usepackage{copyrightbox}
%%%% figure-copyright
    \usepackage{url}

\begin{document}
    \begin{figure}[!h]
\copyrightbox[b]{\includegraphics[width=0.6\linewidth]{example-image-b}}%
           {Source: \url{http://tex.stackexchange.com/}}

    \end{figure}
\end{document}

enter image description here

edit: or with stackengine

\documentclass{article}
\usepackage{graphicx}

\usepackage{stackengine}
\usepackage{url}

\begin{document}
    \begin{figure}[hb]
    \centering
\def\stackalignment{r}
\stackunder{\includegraphics[width=\linewidth]{example-image-b}}%
           {\scriptsize%
            Source: \url{http://tex.stackexchange.com/}}
\caption{Image with copyright}
    \end{figure}
\end{document}

enter image description here

Related Question