\documentclass[a4paper]{article}
\usepackage{graphicx}
\usepackage{fancyhdr}
\pagestyle{fancy}
\usepackage{xcolor}
\usepackage{lipsum}
\setlength\headheight{26pt} %% just to make warning go away. Adjust the value after looking into the warning.
% \rhead{{\color{blue}\rule{1cm}{1cm}}}
\rhead{\includegraphics[width=5cm]{1}}
\lhead{\includegraphics[width=4cm]{2}}
% \rhead{\begin{picture}(3,3) \put(3,3){\includegraphics[width=1cm]{example-image-a}} \end{picture}}
\begin{document}
\lipsum
\end{document}
How can I add a numbering footer on the right like that one?:
And how can I quit the rule that it's created under my header? And add a rule over the footer?
Thanks