[Tex/LaTex] Right aligned Title with image on the left

titles

I want to make a title that will follow the following structure:

\documentclass[12pt]{article}

\usepackage[pass,showframe]{geometry}% just to show the page margins

\usepackage[demo]{graphicx}% remove demo option in actual document

\begin{document}
\noindent\begin{minipage}{0.3\textwidth}% adapt widths of minipages to your needs
\includegraphics[width=\linewidth]{yourimage}
\end{minipage}%
\hfill%
\begin{minipage}{0.6\textwidth}\raggedleft
Yesterday,\\
all my troubles seemed so far away\\
Now it looks as though they're here to stay\\
Oh, I believe in yesterday.
\end{minipage}
\end{document} 

enter image description here

(code found here How do I put an image on the left of right-aligned text)

That is the text of the \title will be right aligned and there will be an image on the left of the text

How is it possible this?

Best Answer

I have updated the answer.

Output

\documentclass[12pt]{article}
\usepackage[pass,showframe]{geometry}% just to show the page margins
\usepackage[demo]{graphicx}
\usepackage{adjustbox}

\begin{document}
    \title{Paper Title}
    \author{Your name}
    \date{\today}
    \noindent\adjustbox{valign = t}{%
    \includegraphics[width = 0.3\textwidth, height = 3in]{yourimage}}\hfill%Image
    \begin{minipage}[t]{0.6\textwidth}\raggedleft
        Yesterday,\\
        all my troubles seemed so far away\\
        Now it looks as though they're here to stay\\
        Oh, I believe in yesterday.\\        
        \begingroup
        \let\center\flushright
        \maketitle
        \endgroup
    \end{minipage}\\
    Stuff stuff stuff...
\end{document}
Related Question