I am trying to insert a diagram in my document, but the image isn't showing up above the caption. Is there something in my code I need to fix?
\usepackage{graphicx}
\begin{figure}[h!]
\centering
\includegraphics{images/Keplers_first.gif}
\caption{Caption}
\label{fig:Keplers_first}
\end{figure}

.gifimages in LaTeX. The solution is to save the file as another format (.jpgor.png) on your local computer and then re-upload. If the.gifimage is animated then you need to use additional conversions and packages, see for example https://tex.stackexchange.com/questions/5396/is-there-any-way-to-include-an-animated-gif-directly - however this may not work on Overleaf and it is incompatible with several widely used pdf viewers. – Marijn Jul 06 '19 at 14:30