latex image with label and caption code example
Example 1: latex image caption
\begin{figure}
\includegraphics[width=\textwidth]{Picture}
\caption{Picture caption}
\end{figure}
Example 2: add figure numbers in latex
\begin{figure}[h!]
\caption{A picture of the universe!}
\includegraphics[width=0.5\textwidth]{universe}
\end{figure}