I'm trying to create a chapter/section header with a side image, both flush with the page border, to be used multiple times throughout a document. The header images (A) are all the same dimensions, but the side images (B) vary in size but will be 9cm in width (they can be a short table, an average diagram or a tall image). I have tried regular wrapfig solutions with images, but the side images (B) keep floating around and I don't want to have to manually position every image (thus the node anchor).
Edit: To clarify, the reason the \section is placed above the images in the text is due to an automation that retrieves the chapter/section number and then uses the image with the same name.
Post completion edit: The accepted answer, including the comment, is relevant to solving this.
Text for actual result:
\documentclass[a4paper,10pt]{article}
\usepackage[T1]{fontenc}
\usepackage{lipsum}
\usepackage[margin=15pt]{geometry}
\usepackage{graphicx}
\usepackage{tikz}
\usepackage{wrapfig}
\begin{document}
\vspace*{11.50 cm} %to get the title under image (A)
\section{Title}
%Image A:
\begin{tikzpicture}[remember picture,overlay,shift={(current page.north east)}]
\node[anchor=north east,xshift=0.125cm,yshift=0.125cm]{\includegraphics[width=21cm,height=12.6cm]{example-image-a}};
\end{tikzpicture}
%Image B:
\begin{wrapfigure}{r}{0.43\textwidth}
\begin{tikzpicture}[remember picture,overlay,shift={(current page.north east)}]
\node[anchor=north east,xshift=0.13cm,yshift=-12.45cm]{\includegraphics[width=9cm,height=12.6cm]{example-image-b}};
\end{tikzpicture}
\end{wrapfigure}
\lipsum[1-4]
\end{document}
Disclaimer: I am relatively new to LaTeX and thus can not be held accountable for my janky solutions.

