# Includegraphics doesn't show the figure. Overleaf v2

I'm working on overleaf v2.

I wrote :

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[utf8]{inputenc}  % Accents codés dans la fonte
\usepackage{amsmath}
\usepackage{graphicx}
\graphicspath{ {./images/} }
\usepackage{amsfonts}
\usepackage{biblatex}
\begin{document}
....
\begin{figure}
\centering
\includegraphics{comp_W_log.jpg}
\caption{\textit{On compare la fonction de Lambert à $\log(x)-1$ dans un certain interval}}
\label{fig:my_label}
\end{figure}
....
\end{document}


But I just get, after compiling :

Can you help me plz ?

Edit: png didn't work either

• (1) welcome, (2) always post full code, not sniplets. (3) It seems you have draft mode enabled, either as a class option or option to graphicx – daleif Jan 18 '19 at 11:55
• Unrelated to your problem, but better use \log instead of log – samcarter_is_at_topanswers.xyz Jan 18 '19 at 12:00
• I don't know how exactly your image looks like, but from the caption I would guess that jpg is not a good file type for it. Better use a vector format like pdf or if you really have to use a pixelated format at least use png – samcarter_is_at_topanswers.xyz Jan 18 '19 at 12:02
• Again unrelated to your problem, but don't load the same package multiple times and the option frenchb is deprecated, use french instead. For a French text it would probably also be good to load \usepackage[T1]{fontenc}. You probably want to give some floating specifier to your figure, e.g. \begin{figure}[htbp] for a better placement. And instead of manually changing the font family of your caption to italic, have a look at the caption package to make this automatically. – samcarter_is_at_topanswers.xyz Jan 18 '19 at 13:08