Overleaf Doesn't Insert Picture and Shows Empty Rectangle [Duplicate]

Overleaf Doesn't Insert Picture and Shows Empty Rectangle [Duplicate]

This is the code snippet. The image is in the same location as the main .tex file and all I get is a rectangle with the name of the image.

\begin{figure}[htp]
        \centering
        \includegraphics[width=4cm]{B7oiUtYdkK-rb-case-3.png}
        \caption{Insertie cazul 3}
\end{figure}
3

1 Answer

This can happen when you have the document set to draft mode. You may have set it as document class option like \documentclass[12pt,a4paper,draft]{article}, or maybe it is selected in the compiler options, as shown in this guide:

The Fast [draft] mode skips some steps in order to speed-up compilation, and often doesn't show included images.

Elena Rostova
Author

Elena Rostova

Elena Rostova holds a Master's degree in Public Health Journalism. She covers groundbreaking medical research, holistic wellness trends, mental health awareness, and nutritional science.