# Images not showing up [duplicate]

I have a problem with images not showing up. The latex recognises them (see screenshot) but doesn't generate them to pdf document. They are in the same folder. I tried including image extensions and with the part that is commented. The images are .png.

Here is the code:

\documentclass[12pt,a4paper,draft,pdftex]{article}
\usepackage[pdftex]{graphicx}
\usepackage{mathtools}
\usepackage{amsthm}
\usepackage{amsfonts}

%\graphicspath{name/Dropbox/projectProgramming/graphs/}

\begin{figure}[p]
\centering
\includegraphics[width=\textwidth]{avgP}
\caption{Average}
\end{figure}


• Welcome to TeX.SX! What format is the avgP file? Apr 23 '15 at 12:49
• @egreg based on the screenshot, my guess is PNG. Apr 23 '15 at 12:51
• @egreg all the images are .png
– Lior
Apr 23 '15 at 12:51
• The cause is the draft option. The pdftex option should never be passed to either \documentclass or graphicx anyway. Apr 23 '15 at 12:58

\documentclass[12pt,a4paper]{article}