Basically I have a collection of small images, all having the same dimensions. I want to insert random ones from those collections on every page created. That means that page 1 would have a different image than page 2 and page 3 would have a different one than page 2 and so on. I know how to insert an image in the fancy header of the top right corner. But, I don't know if it is actually possible to have it randomly inserted or at least some sort of rotation from a pre-defined list? The following is what I use:
% just to make warning go away
\setlength\headheight{26pt}
\pagestyle{fancy}
\fancyhf{}
\rfoot{\thepage}
and this is what I have in the main document itself:
\section{Test}
\rhead{\includegraphics[scale=0.4]{invader_1}}
However, that makes put each section in a new page, and the paper doesn't look good at that point.
I appreciate if someone would also explain the solution if it exists.