# Background image for frame title

Using beamer, how can I insert a background image under the title of each frame? I could insert an image but the result was that the title disappeared because the image is over it. Any ideas?

You can use the \addtobeamertemplate command to add the image to every frame in which the \frametitle command is used. You only add the image to the frametitle template. A simple example using the textpos package to control the placement of the image:

\documentclass{beamer}
\usepackage{textpos}

\begin{textblock*}{\paperwidth}(-10pt,0pt)
\includegraphics[width=.9\paperwidth,height=1cm]{onebit_29}
\end{textblock*}
}

\begin{document}

\begin{frame}
\frametitle{Some long title to overlap the included image}
Test
\end{frame}

\end{document}


You could add the image as part of the frame title argument, e.g. using

\begin{frame}

(The \frametitle is optional in this case.)
This inserts and scales a background image under the frame title. You might also want to add the option width=\textwidth (or a similar width).
Alternatively try \adjustbox{bgimage=<image>}{Your frame title} from the adjustbox package instead of the frame title alone.