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.

enter image description here

You Might Also Like