I was wondering if I can force an image to be behind the text; without affecting the text. Or the other way around which is to place the text on top of the image.
Here are the examples of my trials:
\begin{figure}[h!]
\begin{center}
\resizebox{1\textwidth}{!}{\includegraphics{Figures/Chapter_3/browserWindow}}
\end{center}
\end{figure}
I also tried \begin{figure}[htb], and \begin{figure}[H]. I tried following this suggestion but nothing happens so I use the regular way of creating a figure. notice that the middle of the figure is also transparent. Also as you can see from the size of the figure is not matching with the \textwidth. How to adjust this so that the lines of the window frame would match the \textwidth?
\begin{figure}[htb]
\centering
\includegraphics[width = 1\textwidth]{Figures/Chapter_3/browserWindow}
\end{figure}
Here is he demo and in case you want to work with the image here is a link.
UPDATE:
\begin{tikzpicture}[remember picture, overlay]
\node[opacity=1,inner sep=0pt] at (current page.center) {%
\includegraphics[%
width=0.82\paperwidth,%
height=0.43\paperheight%
]{Figures/Chapter_3/browserWindow}%
}; %--- Including the background picture
\end{tikzpicture}
Is there a way to adjust the position so that it can at the beginning of the chapter?
FINAL SOLUTION:
Thanks to @Marian G's answer, I was able to adjust this as I wanted. I simply used this:
\includegraphics[%
width=1.15\textwidth,
height=0.83\textwidth,
align=t,
smash=br,
vshift=1cm, % adjust the vertical position
hshift=-1.5cm % adjust the horizontal position
]{Figures/Chapter_3/browserWindow}%
Some text in the paragraph.
\vskip 0.2in %I had to use some space because the images was overlapping.
\begin{figure}[htb]
\centering
\includegraphics[width=0.7\textwidth{Figures/Chapter_3/technology_icons}
\caption{Technologies used : (a) HTML5, (b) CSS3, (c) JavaScript with external libraries}
\label{fig:htmlIcons}
\end{figure}




\tikz[overlay, remember picture] \draw [darkpowderblue, thick] ([xshift=0.5cm,yshift=-0.5cm]current page.north west) rectangle ([xshift=-0.5cm,yshift=0.5cm]current page.south east); %---making a coloured boxbut nothing changes. – Loizos Vasileiou Apr 22 '19 at 17:09(current page.north)but now its at the top. Again this is not where i want it positioned. I'm trying to work on this suggestion – Loizos Vasileiou Apr 22 '19 at 17:14