# Image positioning problems [duplicate]

Possible Duplicate:
Keeping tables/figures close to where they are mentioned

I'm having troubles positioning some images. Some appear where i want them to, others appear right at the end of the document.

\begin{figure}[h]
\centering
\includegraphics[width=0.8\textwidth]{images/cleanity.jpg}\\
\caption{Rapid Application Development (RAD) Model}\label{fig:sift_ex}
\end{figure}


I have a bunch of subheadings and my bibliography after this code, but the image appears after. What am i doing wrong?

## marked as duplicate by cmhughes, Ian Thompson, lockstep, egreg, JakeApr 5 '12 at 20:21

Figures float - LaTeX puts them where it thinks best. The [h] directive for "here" is only your suggestion, In this case it won't fit and can't go anywhere else, so LaTeX put it at the end of the document. (See comment below.)