\documentclass{article}
\usepackage{subfigure}
\begin{document}
\begin{figure}[!ht]
\centering
\subfigure[Caption of subfigure 1]{
\rule{4cm}{3cm}
\label{fig:subfig1}
}
\subfigure[Caption of subfigure 2]{
\rule{4cm}{3cm}
\label{fig:subfig2}
}
\subfigure[Caption of subfigure 3]{
\rule{4cm}{3cm}
\label{fig:subfig3}
}
\subfigure[Caption of subfigure 3]{
\rule{4cm}{3cm}
\label{fig:subfig4}
}
\caption[Optional caption for list of figures]
{Caption of subfigures \subref{fig:subfig1},
\subref{fig:subfig2}, \subref{fig:subfig3}
\subref{fig:subfig4}}
\label{fig:subfigureExample}
\end{figure}
Reference to figure \ref{fig:subfigureExample}.
\end{document}
\usepackage{subfigure}
\begin{document}
\begin{figure}[!ht]
\centering
\subfigure[Caption of subfigure 1]{
\rule{4cm}{3cm}
\label{fig:subfig1}
}
\subfigure[Caption of subfigure 2]{
\rule{4cm}{3cm}
\label{fig:subfig2}
}
\subfigure[Caption of subfigure 3]{
\rule{4cm}{3cm}
\label{fig:subfig3}
}
\subfigure[Caption of subfigure 3]{
\rule{4cm}{3cm}
\label{fig:subfig4}
}
\caption[Optional caption for list of figures]
{Caption of subfigures \subref{fig:subfig1},
\subref{fig:subfig2}, \subref{fig:subfig3}
\subref{fig:subfig4}}
\label{fig:subfigureExample}
\end{figure}
Reference to figure \ref{fig:subfigureExample}.
\end{document}
بعدش به جای دستورهای \rule{4cm}{3cm} دستور قراردادن عکس را بذارید. مثلاً:
\includegraphics[width=4cm]{fig1}