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:




\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

  • We would need more information in order to address your problem. For example, a minimal example that replicates your issue (and possibly your .log when you compile).
    – Werner
    Feb 19, 2019 at 17:30
  • right, now i added more informations
    – Alex
    Feb 19, 2019 at 18:36
  • From the posted .log file it seems like you have local installation/version of moderncv. The version on CTAN is v2.0.0 (2015/07/28) while you have v1.2.0 (2012/10/31). There has been many changes to moderncv that would break previous versions/usage. Specifically, there is a moderncv.cls in your working folder, and your compilation uses that, rather than wherever your MiKTeX is installed.
    – Werner
    Feb 19, 2019 at 18:42
  • omg, ok i was so confused. I didn't knew MiKteX already has the latest moderncv+templates, i instead used one from latex.org forums thinking it's the latest one. Thank you very much
    – Alex
    Feb 19, 2019 at 19:00
  • Is everything working as expected now?
    – Werner
    Feb 19, 2019 at 19:29

1 Answer 1


You have a local copy of moderncv.cls in your working folder. The only way for one to pick this up is from the .log file:

enter image description here

Notice how moderncv.cls is listed as-is, while other files included are listed using their full path. Local versions/files within the working folder will be posted like this, rather than with their full path.

Remove this local version so your document can use the default installed version. There has been a number of major changes to moderncv that will break earlier code.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .