[Tex/LaTex] graphics issue– wrapfig and floatflt packages

graphicswrapfigure

I can't seem to get a graphic included without including the path. Can somebody help me with this?

\begin{figure}[h]
    \includegraphics[width=0.35\textwidth]{C:/Users/zach/Documents/My Dropbox/AMATH 383/fig1.pdf}
    \label{fig:fig1}
\end{figure}

\usepackage{wrapfig}
I've also tried:
\begin{wrapfig}[t]{0.5\textwidth}
 \begin{center}
    \includegraphics[width=0.35\textwidth]{fig1.pdf}
    \label{fig:fig1}
 \end{center}
\end{wrapfig}

Best Answer

Don't use spaces in file names or paths. If you really need spaces there, load the grffile package:

\usepackage{grffile}

Usually it's good to use relative paths instead of absolute. This makes moving or copying your project easier, to another path, disk or computer: you don't need to change all paths.