I tried to use this instructions: How to include picture in banking style with exactly position
They somehow doesn't work anymore, maybe because the actual moderncv version
is a little bit different, I think.
Can maybe someone help me? It would be really nice.
if i use the code from the link: MWE:
\documentclass[11pt,a4paper,sans]{moderncv}
\moderncvstyle{banking}
\moderncvcolor{blue}
\usepackage{lipsum}
\usepackage[scale=0.75]{geometry}
%\setlength{\hintscolumnwidth}{3cm}
%\setlength{\makecvtitlenamewidth}{10cm}
\patchcmd{\makehead}
{\hfil}
{\hspace*{0.15\textwidth}}
{}
{}
\patchcmd{\makehead}
{\setlength{\makeheaddetailswidth}{0.8\textwidth}}
{\setlength{\makeheaddetailswidth}{0.67\textwidth}}
{}
{}
\patchcmd{\makehead}
{\\[2.5em]}
{\hfil\raisebox{-.7cm}{\framebox{\includegraphics[width=\@photowidth]{\@photo}}}\\[2.5em]}
{}
{}
%----------------------------------------------------------------------------------------
% NAME AND CONTACT INFORMATION SECTION
%----------------------------------------------------------------------------------------
\firstname{John} % Your first name
\familyname{Smith} % Your last name
It compiles correctly, but there is no picture in the pdf. Here is the log file: https://pastebin.com/5Q5wTZZR

.logwhen you compile). – Werner Feb 19 '19 at 17:30.logfile it seems like you have local installation/version ofmoderncv. The version on CTAN isv2.0.0(2015/07/28) while you havev1.2.0(2012/10/31). There has been many changes tomoderncvthat would break previous versions/usage. Specifically, there is amoderncv.clsin your working folder, and your compilation uses that, rather than wherever your MiKTeX is installed. – Werner Feb 19 '19 at 18:42