I am trying to add a picture in the same folder, subfolder pictures, named iphone.png, but it will terminate with an error.
\documentclass[journal]{IEEEtran}
\usepackage{graphicx}
\usepackage{hyperref}
\DeclareMathOperator{\Alt}{alt}
\begin{document}
\begin{figure}
\label{fig:iphoneCropped}
\begin{center}
\includegraphics[trim=0 5cm 0 5cm, clip]{../pictures/iphone.png}
\caption{Pictures of site on iphone}
\end{center}
\end{figure}
\autoref{fig:iphoneCropped}
Also it will refer to this picture as being subsubsection III-A1, instead of as figure.
\end{document}
\labelmust be after\caption. – David Carlisle Dec 18 '18 at 12:58{pictures/iphone.png}rather than{../pictures/iphone.png}but impossible to say. (The comment in the last line of your example is due to\labelbeing in the wrong pace as noted in the first comment) – David Carlisle Dec 18 '18 at 12:59Thank you David it now finds the picture, and the right ref type :)!!! I didn't know the label placing meant so much.
– yoshi Dec 18 '18 at 13:03