[edit] Overleaf guides

[edit] LaTeX Basics

[edit] Mathematics

[edit] Figures and tables

[edit] References and Citations

[edit] Languages

[edit] Document structure

[edit] Formatting

[edit] Fonts

[edit] Presentations

[edit] Commands

[edit] Field specific

[edit] Class files

You can control the position of an image using options for the figure environment, e.g. the [h!] in the example below tells LaTeX to put the figure exactly where it appears in the text, instead of letting it 'float' to a particular place in the document.

\begin{figure}[h!]
  \caption{A picture of a gull.}
  \centering
  \includegraphics[width=0.5\textwidth]{Image File Name}
\end{figure}

For more information, please see the wikibook article: http://en.wikibooks.org/wiki/LaTeX/Floats,_Figures_and_Captions.