Graphics
Image ↓
How to add images Image positioning How to add captions and a label to an image How to rotate and scale back an image
Charts ↓
Introduction & SmartDiagram TikZ: Simple Drawings TikZ: Advanced Commands PGFPlots
Tables ↓
Environment Cell spanning Positioning Coloring
Vector drawing ↓
Latexdraw Putting things together
How to add captions and a label to an image

How to add a caption
It's really easy, just add the \caption{a caption} and inside the braces write the text to be shown. The placement of the caption depends on where you place the command; if it'a above the includegraphics then the caption will be on top of it, if it's below then the caption will also be set below the figure.


CODE
\begin{figure}[t]
\caption{this is a logo}
\includegraphics[width=0.6\textwidth]{USI-LOGO.png}
\end{figure}


How to add a label
Figures, just as many other elements in a LATEX document (equations, tables, plots, etc) can be referenced within the text. This is very easy, just add a label to the figure environment, then later use that label to refer the picture.


CODE
\begin{figure}[h]
\includegraphics[width=0.25\textwidth]{USI-LOGO.png}
\caption{the main building}
\label{fig1}
\end{figure}