Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim
veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea
commodo consequat.

Reference to fig.~\ref{fig:1}.

\begin{figure}
\hypertarget{fig:1}{%
\centering
\includegraphics[width=1in,height=\textheight]{img/fig-1.png}
\caption{The number one.}\label{fig:1}
}
\end{figure}

\begin{figure}
\hypertarget{fig:2}{%
\centering
\includegraphics[width=1in,height=\textheight]{img/fig-2.png}
\caption{The number two.}\label{fig:2}
}
\end{figure}

Figure \ref{fig:2} is given above.

\begin{figure}
\hypertarget{fig:}{%
\centering
\includegraphics[width=1in,height=\textheight]{img/fig-3.png}
\caption{The number three.}\label{fig:}
}
\end{figure}

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum
dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
