TikZ noob here: The following is a simplified and equivalentdescription of my problem.
The following TikZ code
\begin{tikzpicture}
\node[inner sep=0pt] (stony1) at (0,0){\includegraphics[width=.04\textwidth]{example-image-a}};
\end{tikzpicture}
produces the following a picture inline with my latex text as expected . However, I would like to add some tikz code that produces a blue rectangle above that same included image of the same (horizontal) width. I should be able to customize the height of that rectangle.
What code should I add for this?
In a nutshell, I want to go from the following picture to
the following picture