# Place image in top of page of book document [duplicate]

I need to place an Image in top of book document. But thats image still placed in center document. This is my code:

\documentclass[oneside,a4paper  , 12 pt]{book}

\usepackage{graphicx}
\usepackage{caption}
%\usepackage{package}
\usepackage[space]{grffile}

\begin{document}
\begin{figure}[t!]
\centering
\includegraphics[width=0.7\linewidth]{E:/gambar tesis/variasi/9-2-10-cheek-kiss}
\caption{}
\label{fig:9-2-10-cheek-kiss}
\end{figure}

\end{document}

-

## marked as duplicate by Gonzalo Medina, ChrisS, egreg, Stefan Kottwitz♦Mar 1 '14 at 23:34

This question was marked as an exact duplicate of an existing question.

Use \begin{figure}[htb] – Harish Kumar Feb 28 '14 at 1:25
And I think you don’t even need the figure environment here. Do you need to refer to this image and nence set the empty \caption before the label? – Speravir Feb 28 '14 at 1:28
@Speravir , this code auto-generated by TexStudio – Mohammad Fajar Feb 28 '14 at 1:38
@MohammadFajar: So, you do not need a reference to your image, do you? Clean up your example code. Also the needless %\usepackage{package}. – Speravir Feb 28 '14 at 1:39
No, I using reference to that image. This is just example how my code looks like. – Mohammad Fajar Feb 28 '14 at 1:41