Photo doesn't appear on cv with class moderncv Announcing the arrival of Valued Associate...

Is there a way to convert Wolfram Language expression to string?

Like totally amazing interchangeable sister outfit accessory swapping or whatever

How to charge percentage of transaction cost?

What is the evidence that custom checks in Northern Ireland are going to result in violence?

Can this water damage be explained by lack of gutters and grading issues?

What could prevent concentrated local exploration?

Will I be more secure with my own router behind my ISP's router?

A journey... into the MIND

Kepler's 3rd law: ratios don't fit data

What helicopter has the most rotor blades?

When speaking, how do you change your mind mid-sentence?

Pointing to problems without suggesting solutions

What were wait-states, and why was it only an issue for PCs?

What is the ongoing value of the Kanban board to the developers as opposed to management

Who can become a wight?

How is an IPA symbol that lacks a name (e.g. ɲ) called?

What is the definining line between a helicopter and a drone a person can ride in?

Can the van der Waals coefficients be negative in the van der Waals equation for real gases?

Assertions In A Mock Callout Test

Does the Pact of the Blade warlock feature allow me to customize the properties of the pact weapon I create?

Network questions

Can I ask an author to send me his ebook?

Raising a bilingual kid. When should we introduce the majority language?

How to mute a string and play another at the same time



Photo doesn't appear on cv with class moderncv



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)Remove photo padding in moderncv classicModernCV Banking photo titleHow to include a photo into moderncv?How to add skype & photo entries using moderncvCustomizing ModernCV Header: Photo below line, “Title aligned left”Position of Application Photo in moderncvModerncv banking: Photo on the right side of titleRotate photo in moderncvAdd photo to makelettertitle in moderncv (v.2)ModernCV package - PDF doesn't work












1















I am making my CV using class moderncv. But each time that I try to compile, there is only a small black square (size depending on the thickness of the photo's border) instead of my photo.



Here is what appears



The photo is put in the right file and I've tried with and without the extension. But it still doesn't work. I've also noticed that the phone and address logos don't appear.



I thought this was because of the way I'm compiling: I'm using TeXnicCenter and always choose the LateX>PS>PDF compilation, but when I'm trying the Latex>PDF or LateX>DVI>PDF compilations, the PDF doesn't appear at all.



I've tried to compile with TeXmaker too, but I have the same problems.



Here is my code. Everything else is working, it's really just a problem with the photo and symbols for address and phone:



 documentclass[10pt,a4paper,sans]{moderncv} 

moderncvtheme[black]{classic}

setlength{hintscolumnwidth}{3cm}

usepackage[latin1]{inputenc}
usepackage[french]{babel}
usepackage[top=1.1cm, bottom=1.1cm, left=2cm, right=2cm]{geometry}

renewcommand*{namefont}{fontsize{28}{20}mdseriesupshape}
firstname{huge Me}
familyname{huge Nom}
social[linkedin][lala]{/lala}
title{Student}
address{rue XX, XX}{XX}
mobile{+33~XX}
phone{+33~XX}

email{XX.XX@gmail.com}
extrainfo{Femme, 23 ans}
photo[70pt][0.5pt]{lala}
quote{Canditure}{}
begin{document}
maketitle
section{Formation}
cventry{Août à Juillet}{DD}{Ecole}{}{}{Mécanique}
cventry{Septembre à Juillet}{Cycle}{Université }{}{}{Matériaux}
cventry{Septembre à Juin}{Tronc}{Université}{}{}{Cycle}
cventry{Juin}{Bac S}{Lycée}{}{}{Mention}
section{Expérience Professionnelle}
cventry{Février à Décembre}{Projet de Fin d'Etudes}{Ecole}{SP}{Fr}{lalala}
cventry{Septembre à Février}{Stage}{Entreprise}{Clermont-Ferrand}{France}{loulou}
cventry{Février 2010}{Stage Ouvrier}{Entreprise}{Paris}{France}{Découverte}

section{Compétences}

subsection{Langues}
cvlanguage{Anglais}{lu, parlé, écrit}{niveau}
cvlanguage{Portugais}{lu, écrit, parlé}{niveau}
cvlanguage{Espagnol}{lu, parlé, écrit}{niveau}
cvlanguage{Allemand}{notions}{niveau}
subsection{Informatique}
cvcomputer{Simulation numérique}{lala} {Conception}{lala}
cvcomputer{Web}{lala}{Langage}{lala}
cvcomputer{Autre}{lala}{}{}
section{Divers}
cvline{Associatif}{lala}
cvline{Loisirs}{lala}

end{document}









share|improve this question

























  • Replacing "lala" with one of my images "images/rabbit.jpg" worked fine. Use unix style pathnames and include the extension.

    – John Kormylo
    May 16 '15 at 3:39













  • I've just tried it, it did change the size of the square but I still can't see the picture. I've changed the photo and the extension to try, but it doesn't work. And I still can't compile using (Latex>PDF) directly or (Latex>DVI>PDF)

    – Mess
    May 17 '15 at 20:25











  • What sort of image is lala anyway?

    – John Kormylo
    May 17 '15 at 23:05











  • It's a photo of myself on png or jpg formar (I've tried both formats). i need to put it on my resume to apply for a job.

    – Mess
    May 18 '15 at 9:32


















1















I am making my CV using class moderncv. But each time that I try to compile, there is only a small black square (size depending on the thickness of the photo's border) instead of my photo.



Here is what appears



The photo is put in the right file and I've tried with and without the extension. But it still doesn't work. I've also noticed that the phone and address logos don't appear.



I thought this was because of the way I'm compiling: I'm using TeXnicCenter and always choose the LateX>PS>PDF compilation, but when I'm trying the Latex>PDF or LateX>DVI>PDF compilations, the PDF doesn't appear at all.



I've tried to compile with TeXmaker too, but I have the same problems.



Here is my code. Everything else is working, it's really just a problem with the photo and symbols for address and phone:



 documentclass[10pt,a4paper,sans]{moderncv} 

moderncvtheme[black]{classic}

setlength{hintscolumnwidth}{3cm}

usepackage[latin1]{inputenc}
usepackage[french]{babel}
usepackage[top=1.1cm, bottom=1.1cm, left=2cm, right=2cm]{geometry}

renewcommand*{namefont}{fontsize{28}{20}mdseriesupshape}
firstname{huge Me}
familyname{huge Nom}
social[linkedin][lala]{/lala}
title{Student}
address{rue XX, XX}{XX}
mobile{+33~XX}
phone{+33~XX}

email{XX.XX@gmail.com}
extrainfo{Femme, 23 ans}
photo[70pt][0.5pt]{lala}
quote{Canditure}{}
begin{document}
maketitle
section{Formation}
cventry{Août à Juillet}{DD}{Ecole}{}{}{Mécanique}
cventry{Septembre à Juillet}{Cycle}{Université }{}{}{Matériaux}
cventry{Septembre à Juin}{Tronc}{Université}{}{}{Cycle}
cventry{Juin}{Bac S}{Lycée}{}{}{Mention}
section{Expérience Professionnelle}
cventry{Février à Décembre}{Projet de Fin d'Etudes}{Ecole}{SP}{Fr}{lalala}
cventry{Septembre à Février}{Stage}{Entreprise}{Clermont-Ferrand}{France}{loulou}
cventry{Février 2010}{Stage Ouvrier}{Entreprise}{Paris}{France}{Découverte}

section{Compétences}

subsection{Langues}
cvlanguage{Anglais}{lu, parlé, écrit}{niveau}
cvlanguage{Portugais}{lu, écrit, parlé}{niveau}
cvlanguage{Espagnol}{lu, parlé, écrit}{niveau}
cvlanguage{Allemand}{notions}{niveau}
subsection{Informatique}
cvcomputer{Simulation numérique}{lala} {Conception}{lala}
cvcomputer{Web}{lala}{Langage}{lala}
cvcomputer{Autre}{lala}{}{}
section{Divers}
cvline{Associatif}{lala}
cvline{Loisirs}{lala}

end{document}









share|improve this question

























  • Replacing "lala" with one of my images "images/rabbit.jpg" worked fine. Use unix style pathnames and include the extension.

    – John Kormylo
    May 16 '15 at 3:39













  • I've just tried it, it did change the size of the square but I still can't see the picture. I've changed the photo and the extension to try, but it doesn't work. And I still can't compile using (Latex>PDF) directly or (Latex>DVI>PDF)

    – Mess
    May 17 '15 at 20:25











  • What sort of image is lala anyway?

    – John Kormylo
    May 17 '15 at 23:05











  • It's a photo of myself on png or jpg formar (I've tried both formats). i need to put it on my resume to apply for a job.

    – Mess
    May 18 '15 at 9:32
















1












1








1








I am making my CV using class moderncv. But each time that I try to compile, there is only a small black square (size depending on the thickness of the photo's border) instead of my photo.



Here is what appears



The photo is put in the right file and I've tried with and without the extension. But it still doesn't work. I've also noticed that the phone and address logos don't appear.



I thought this was because of the way I'm compiling: I'm using TeXnicCenter and always choose the LateX>PS>PDF compilation, but when I'm trying the Latex>PDF or LateX>DVI>PDF compilations, the PDF doesn't appear at all.



I've tried to compile with TeXmaker too, but I have the same problems.



Here is my code. Everything else is working, it's really just a problem with the photo and symbols for address and phone:



 documentclass[10pt,a4paper,sans]{moderncv} 

moderncvtheme[black]{classic}

setlength{hintscolumnwidth}{3cm}

usepackage[latin1]{inputenc}
usepackage[french]{babel}
usepackage[top=1.1cm, bottom=1.1cm, left=2cm, right=2cm]{geometry}

renewcommand*{namefont}{fontsize{28}{20}mdseriesupshape}
firstname{huge Me}
familyname{huge Nom}
social[linkedin][lala]{/lala}
title{Student}
address{rue XX, XX}{XX}
mobile{+33~XX}
phone{+33~XX}

email{XX.XX@gmail.com}
extrainfo{Femme, 23 ans}
photo[70pt][0.5pt]{lala}
quote{Canditure}{}
begin{document}
maketitle
section{Formation}
cventry{Août à Juillet}{DD}{Ecole}{}{}{Mécanique}
cventry{Septembre à Juillet}{Cycle}{Université }{}{}{Matériaux}
cventry{Septembre à Juin}{Tronc}{Université}{}{}{Cycle}
cventry{Juin}{Bac S}{Lycée}{}{}{Mention}
section{Expérience Professionnelle}
cventry{Février à Décembre}{Projet de Fin d'Etudes}{Ecole}{SP}{Fr}{lalala}
cventry{Septembre à Février}{Stage}{Entreprise}{Clermont-Ferrand}{France}{loulou}
cventry{Février 2010}{Stage Ouvrier}{Entreprise}{Paris}{France}{Découverte}

section{Compétences}

subsection{Langues}
cvlanguage{Anglais}{lu, parlé, écrit}{niveau}
cvlanguage{Portugais}{lu, écrit, parlé}{niveau}
cvlanguage{Espagnol}{lu, parlé, écrit}{niveau}
cvlanguage{Allemand}{notions}{niveau}
subsection{Informatique}
cvcomputer{Simulation numérique}{lala} {Conception}{lala}
cvcomputer{Web}{lala}{Langage}{lala}
cvcomputer{Autre}{lala}{}{}
section{Divers}
cvline{Associatif}{lala}
cvline{Loisirs}{lala}

end{document}









share|improve this question
















I am making my CV using class moderncv. But each time that I try to compile, there is only a small black square (size depending on the thickness of the photo's border) instead of my photo.



Here is what appears



The photo is put in the right file and I've tried with and without the extension. But it still doesn't work. I've also noticed that the phone and address logos don't appear.



I thought this was because of the way I'm compiling: I'm using TeXnicCenter and always choose the LateX>PS>PDF compilation, but when I'm trying the Latex>PDF or LateX>DVI>PDF compilations, the PDF doesn't appear at all.



I've tried to compile with TeXmaker too, but I have the same problems.



Here is my code. Everything else is working, it's really just a problem with the photo and symbols for address and phone:



 documentclass[10pt,a4paper,sans]{moderncv} 

moderncvtheme[black]{classic}

setlength{hintscolumnwidth}{3cm}

usepackage[latin1]{inputenc}
usepackage[french]{babel}
usepackage[top=1.1cm, bottom=1.1cm, left=2cm, right=2cm]{geometry}

renewcommand*{namefont}{fontsize{28}{20}mdseriesupshape}
firstname{huge Me}
familyname{huge Nom}
social[linkedin][lala]{/lala}
title{Student}
address{rue XX, XX}{XX}
mobile{+33~XX}
phone{+33~XX}

email{XX.XX@gmail.com}
extrainfo{Femme, 23 ans}
photo[70pt][0.5pt]{lala}
quote{Canditure}{}
begin{document}
maketitle
section{Formation}
cventry{Août à Juillet}{DD}{Ecole}{}{}{Mécanique}
cventry{Septembre à Juillet}{Cycle}{Université }{}{}{Matériaux}
cventry{Septembre à Juin}{Tronc}{Université}{}{}{Cycle}
cventry{Juin}{Bac S}{Lycée}{}{}{Mention}
section{Expérience Professionnelle}
cventry{Février à Décembre}{Projet de Fin d'Etudes}{Ecole}{SP}{Fr}{lalala}
cventry{Septembre à Février}{Stage}{Entreprise}{Clermont-Ferrand}{France}{loulou}
cventry{Février 2010}{Stage Ouvrier}{Entreprise}{Paris}{France}{Découverte}

section{Compétences}

subsection{Langues}
cvlanguage{Anglais}{lu, parlé, écrit}{niveau}
cvlanguage{Portugais}{lu, écrit, parlé}{niveau}
cvlanguage{Espagnol}{lu, parlé, écrit}{niveau}
cvlanguage{Allemand}{notions}{niveau}
subsection{Informatique}
cvcomputer{Simulation numérique}{lala} {Conception}{lala}
cvcomputer{Web}{lala}{Langage}{lala}
cvcomputer{Autre}{lala}{}{}
section{Divers}
cvline{Associatif}{lala}
cvline{Loisirs}{lala}

end{document}






moderncv fontawesome






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 28 mins ago









Kurt

41.8k950165




41.8k950165










asked May 15 '15 at 17:11









MessMess

62




62













  • Replacing "lala" with one of my images "images/rabbit.jpg" worked fine. Use unix style pathnames and include the extension.

    – John Kormylo
    May 16 '15 at 3:39













  • I've just tried it, it did change the size of the square but I still can't see the picture. I've changed the photo and the extension to try, but it doesn't work. And I still can't compile using (Latex>PDF) directly or (Latex>DVI>PDF)

    – Mess
    May 17 '15 at 20:25











  • What sort of image is lala anyway?

    – John Kormylo
    May 17 '15 at 23:05











  • It's a photo of myself on png or jpg formar (I've tried both formats). i need to put it on my resume to apply for a job.

    – Mess
    May 18 '15 at 9:32





















  • Replacing "lala" with one of my images "images/rabbit.jpg" worked fine. Use unix style pathnames and include the extension.

    – John Kormylo
    May 16 '15 at 3:39













  • I've just tried it, it did change the size of the square but I still can't see the picture. I've changed the photo and the extension to try, but it doesn't work. And I still can't compile using (Latex>PDF) directly or (Latex>DVI>PDF)

    – Mess
    May 17 '15 at 20:25











  • What sort of image is lala anyway?

    – John Kormylo
    May 17 '15 at 23:05











  • It's a photo of myself on png or jpg formar (I've tried both formats). i need to put it on my resume to apply for a job.

    – Mess
    May 18 '15 at 9:32



















Replacing "lala" with one of my images "images/rabbit.jpg" worked fine. Use unix style pathnames and include the extension.

– John Kormylo
May 16 '15 at 3:39







Replacing "lala" with one of my images "images/rabbit.jpg" worked fine. Use unix style pathnames and include the extension.

– John Kormylo
May 16 '15 at 3:39















I've just tried it, it did change the size of the square but I still can't see the picture. I've changed the photo and the extension to try, but it doesn't work. And I still can't compile using (Latex>PDF) directly or (Latex>DVI>PDF)

– Mess
May 17 '15 at 20:25





I've just tried it, it did change the size of the square but I still can't see the picture. I've changed the photo and the extension to try, but it doesn't work. And I still can't compile using (Latex>PDF) directly or (Latex>DVI>PDF)

– Mess
May 17 '15 at 20:25













What sort of image is lala anyway?

– John Kormylo
May 17 '15 at 23:05





What sort of image is lala anyway?

– John Kormylo
May 17 '15 at 23:05













It's a photo of myself on png or jpg formar (I've tried both formats). i need to put it on my resume to apply for a job.

– Mess
May 18 '15 at 9:32







It's a photo of myself on png or jpg formar (I've tried both formats). i need to put it on my resume to apply for a job.

– Mess
May 18 '15 at 9:32












2 Answers
2






active

oldest

votes


















2














As I said, it worked fine for me:



photo[70pt][0.5pt]{images/rabbit.jpg}  


photo test






share|improve this answer
























  • Hm well I don't understand then, because when I'm using Latex for another document, the pictures appear without any problem but when I'm using moderncv there is nothing. What do you use to compile? TeXnicCenter? Texmaker? Another?

    – Mess
    May 18 '15 at 14:23













  • TexnicCenter and MikTeX. Is lala.jpg in the same folder as the tex file?

    – John Kormylo
    May 18 '15 at 15:06











  • Yes it is and I'm also using TexnicCenter and MikTeX. I think that my problem comes from the fact that I'm compiling with (Latex>PS>PDF), so I'm trying to see why I'm getting a "fatal error" each time it's creating the PDF using (Latex>PDF) directly. I'm using Sumatra PDF now and I've tried to change the DDE command on the viewer but I still can not open the file.. I'll try to see here if there isn't another subject about that issue. Thanks for your help

    – Mess
    May 18 '15 at 15:27



















0














You did not show us the complete error message(s) you surely got, but an very interesting hint for your issue is your following text:




The photo is put in the right file and I've tried with and without the
extension. But it still doesn't work. I've also noticed that the phone
and address logos don't appear.




In 2015 there was a changing of class moderncv to version 2.0.0 and -- depending on the used style -- the usage of font fontawesome for phone and address logos and some more or the usage of marvosym.



You did not tell us which version of class moderncv you used, but for me it seems in your case there is a mix of old version (for example familyname is old syntax) and problems in using font fontawesome. Today fontawesome can be used with pdflatex too, but in the first time of usage it could only be used with lualatex or xelatex.



At last you had a mix of reasons not getting the symbols and image.



Today, using an complete installed MiKTeX (includes running fontawesome and the current version 2.0.0 of class moderncv) the following mwe compiles without errors for both compiling pathes LaTeX->DVI-PDF and LaTeX-PDF in TeXnicCenter (please see that I used image example-image-10x16 from package mwe; if you test with your image and still get an error message you have a problem with your image!):



documentclass[10pt,a4paper,sans]{moderncv} 

moderncvtheme[black]{classic}

setlength{hintscolumnwidth}{3cm}

usepackage[latin1]{inputenc}
usepackage[french]{babel}
usepackage[top=1.1cm, bottom=1.1cm, left=2cm, right=2cm]{geometry}

renewcommand*{namefont}{fontsize{28}{20}mdseriesupshape}
firstname{huge Me}
familyname{huge Nom}
social[linkedin][lala]{/lala}
title{Student}
address{rue XX, XX}{XX}
mobile{+33~XX}
phone{+33~XX}

email{XX.XX@gmail.com}
extrainfo{Femme, 23 ans}
photo[70pt][0.5pt]{example-image-10x16} % example-image-golden-upright
quote{Canditure}{}


begin{document}
maketitle
section{Formation}
cventry{Août à Juillet}{DD}{Ecole}{}{}{Mécanique}
cventry{Septembre à Juillet}{Cycle}{Université }{}{}{Matériaux}
cventry{Septembre à Juin}{Tronc}{Université}{}{}{Cycle}
cventry{Juin}{Bac S}{Lycée}{}{}{Mention}
section{Expérience Professionnelle}
cventry{Février à Décembre}{Projet de Fin d'Etudes}{Ecole}{SP}{Fr}{lalala}
cventry{Septembre à Février}{Stage}{Entreprise}{Clermont-Ferrand}{France}{loulou}
cventry{Février 2010}{Stage Ouvrier}{Entreprise}{Paris}{France}{Découverte}

section{Compétences}

subsection{Langues}
cvlanguage{Anglais}{lu, parlé, écrit}{niveau}
cvlanguage{Portugais}{lu, écrit, parlé}{niveau}
cvlanguage{Espagnol}{lu, parlé, écrit}{niveau}
cvlanguage{Allemand}{notions}{niveau}
subsection{Informatique}
cvcomputer{Simulation numérique}{lala} {Conception}{lala}
cvcomputer{Web}{lala}{Langage}{lala}
cvcomputer{Autre}{lala}{}{}
section{Divers}
cvline{Associatif}{lala}
cvline{Loisirs}{lala}

end{document}


and its result:



resulting pdf



Today I suggest you use the compiling engine pdflatex to get directly an pdf -- then you can use an image file *.png or *.jpg for your photo.



With compiling engine pdftex to get an DVI/PS file you need to use a file *.eps for your image.






share|improve this answer
























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "85"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f245166%2fphoto-doesnt-appear-on-cv-with-class-moderncv%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    2














    As I said, it worked fine for me:



    photo[70pt][0.5pt]{images/rabbit.jpg}  


    photo test






    share|improve this answer
























    • Hm well I don't understand then, because when I'm using Latex for another document, the pictures appear without any problem but when I'm using moderncv there is nothing. What do you use to compile? TeXnicCenter? Texmaker? Another?

      – Mess
      May 18 '15 at 14:23













    • TexnicCenter and MikTeX. Is lala.jpg in the same folder as the tex file?

      – John Kormylo
      May 18 '15 at 15:06











    • Yes it is and I'm also using TexnicCenter and MikTeX. I think that my problem comes from the fact that I'm compiling with (Latex>PS>PDF), so I'm trying to see why I'm getting a "fatal error" each time it's creating the PDF using (Latex>PDF) directly. I'm using Sumatra PDF now and I've tried to change the DDE command on the viewer but I still can not open the file.. I'll try to see here if there isn't another subject about that issue. Thanks for your help

      – Mess
      May 18 '15 at 15:27
















    2














    As I said, it worked fine for me:



    photo[70pt][0.5pt]{images/rabbit.jpg}  


    photo test






    share|improve this answer
























    • Hm well I don't understand then, because when I'm using Latex for another document, the pictures appear without any problem but when I'm using moderncv there is nothing. What do you use to compile? TeXnicCenter? Texmaker? Another?

      – Mess
      May 18 '15 at 14:23













    • TexnicCenter and MikTeX. Is lala.jpg in the same folder as the tex file?

      – John Kormylo
      May 18 '15 at 15:06











    • Yes it is and I'm also using TexnicCenter and MikTeX. I think that my problem comes from the fact that I'm compiling with (Latex>PS>PDF), so I'm trying to see why I'm getting a "fatal error" each time it's creating the PDF using (Latex>PDF) directly. I'm using Sumatra PDF now and I've tried to change the DDE command on the viewer but I still can not open the file.. I'll try to see here if there isn't another subject about that issue. Thanks for your help

      – Mess
      May 18 '15 at 15:27














    2












    2








    2







    As I said, it worked fine for me:



    photo[70pt][0.5pt]{images/rabbit.jpg}  


    photo test






    share|improve this answer













    As I said, it worked fine for me:



    photo[70pt][0.5pt]{images/rabbit.jpg}  


    photo test







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered May 18 '15 at 12:24









    John KormyloJohn Kormylo

    47k22672




    47k22672













    • Hm well I don't understand then, because when I'm using Latex for another document, the pictures appear without any problem but when I'm using moderncv there is nothing. What do you use to compile? TeXnicCenter? Texmaker? Another?

      – Mess
      May 18 '15 at 14:23













    • TexnicCenter and MikTeX. Is lala.jpg in the same folder as the tex file?

      – John Kormylo
      May 18 '15 at 15:06











    • Yes it is and I'm also using TexnicCenter and MikTeX. I think that my problem comes from the fact that I'm compiling with (Latex>PS>PDF), so I'm trying to see why I'm getting a "fatal error" each time it's creating the PDF using (Latex>PDF) directly. I'm using Sumatra PDF now and I've tried to change the DDE command on the viewer but I still can not open the file.. I'll try to see here if there isn't another subject about that issue. Thanks for your help

      – Mess
      May 18 '15 at 15:27



















    • Hm well I don't understand then, because when I'm using Latex for another document, the pictures appear without any problem but when I'm using moderncv there is nothing. What do you use to compile? TeXnicCenter? Texmaker? Another?

      – Mess
      May 18 '15 at 14:23













    • TexnicCenter and MikTeX. Is lala.jpg in the same folder as the tex file?

      – John Kormylo
      May 18 '15 at 15:06











    • Yes it is and I'm also using TexnicCenter and MikTeX. I think that my problem comes from the fact that I'm compiling with (Latex>PS>PDF), so I'm trying to see why I'm getting a "fatal error" each time it's creating the PDF using (Latex>PDF) directly. I'm using Sumatra PDF now and I've tried to change the DDE command on the viewer but I still can not open the file.. I'll try to see here if there isn't another subject about that issue. Thanks for your help

      – Mess
      May 18 '15 at 15:27

















    Hm well I don't understand then, because when I'm using Latex for another document, the pictures appear without any problem but when I'm using moderncv there is nothing. What do you use to compile? TeXnicCenter? Texmaker? Another?

    – Mess
    May 18 '15 at 14:23







    Hm well I don't understand then, because when I'm using Latex for another document, the pictures appear without any problem but when I'm using moderncv there is nothing. What do you use to compile? TeXnicCenter? Texmaker? Another?

    – Mess
    May 18 '15 at 14:23















    TexnicCenter and MikTeX. Is lala.jpg in the same folder as the tex file?

    – John Kormylo
    May 18 '15 at 15:06





    TexnicCenter and MikTeX. Is lala.jpg in the same folder as the tex file?

    – John Kormylo
    May 18 '15 at 15:06













    Yes it is and I'm also using TexnicCenter and MikTeX. I think that my problem comes from the fact that I'm compiling with (Latex>PS>PDF), so I'm trying to see why I'm getting a "fatal error" each time it's creating the PDF using (Latex>PDF) directly. I'm using Sumatra PDF now and I've tried to change the DDE command on the viewer but I still can not open the file.. I'll try to see here if there isn't another subject about that issue. Thanks for your help

    – Mess
    May 18 '15 at 15:27





    Yes it is and I'm also using TexnicCenter and MikTeX. I think that my problem comes from the fact that I'm compiling with (Latex>PS>PDF), so I'm trying to see why I'm getting a "fatal error" each time it's creating the PDF using (Latex>PDF) directly. I'm using Sumatra PDF now and I've tried to change the DDE command on the viewer but I still can not open the file.. I'll try to see here if there isn't another subject about that issue. Thanks for your help

    – Mess
    May 18 '15 at 15:27











    0














    You did not show us the complete error message(s) you surely got, but an very interesting hint for your issue is your following text:




    The photo is put in the right file and I've tried with and without the
    extension. But it still doesn't work. I've also noticed that the phone
    and address logos don't appear.




    In 2015 there was a changing of class moderncv to version 2.0.0 and -- depending on the used style -- the usage of font fontawesome for phone and address logos and some more or the usage of marvosym.



    You did not tell us which version of class moderncv you used, but for me it seems in your case there is a mix of old version (for example familyname is old syntax) and problems in using font fontawesome. Today fontawesome can be used with pdflatex too, but in the first time of usage it could only be used with lualatex or xelatex.



    At last you had a mix of reasons not getting the symbols and image.



    Today, using an complete installed MiKTeX (includes running fontawesome and the current version 2.0.0 of class moderncv) the following mwe compiles without errors for both compiling pathes LaTeX->DVI-PDF and LaTeX-PDF in TeXnicCenter (please see that I used image example-image-10x16 from package mwe; if you test with your image and still get an error message you have a problem with your image!):



    documentclass[10pt,a4paper,sans]{moderncv} 

    moderncvtheme[black]{classic}

    setlength{hintscolumnwidth}{3cm}

    usepackage[latin1]{inputenc}
    usepackage[french]{babel}
    usepackage[top=1.1cm, bottom=1.1cm, left=2cm, right=2cm]{geometry}

    renewcommand*{namefont}{fontsize{28}{20}mdseriesupshape}
    firstname{huge Me}
    familyname{huge Nom}
    social[linkedin][lala]{/lala}
    title{Student}
    address{rue XX, XX}{XX}
    mobile{+33~XX}
    phone{+33~XX}

    email{XX.XX@gmail.com}
    extrainfo{Femme, 23 ans}
    photo[70pt][0.5pt]{example-image-10x16} % example-image-golden-upright
    quote{Canditure}{}


    begin{document}
    maketitle
    section{Formation}
    cventry{Août à Juillet}{DD}{Ecole}{}{}{Mécanique}
    cventry{Septembre à Juillet}{Cycle}{Université }{}{}{Matériaux}
    cventry{Septembre à Juin}{Tronc}{Université}{}{}{Cycle}
    cventry{Juin}{Bac S}{Lycée}{}{}{Mention}
    section{Expérience Professionnelle}
    cventry{Février à Décembre}{Projet de Fin d'Etudes}{Ecole}{SP}{Fr}{lalala}
    cventry{Septembre à Février}{Stage}{Entreprise}{Clermont-Ferrand}{France}{loulou}
    cventry{Février 2010}{Stage Ouvrier}{Entreprise}{Paris}{France}{Découverte}

    section{Compétences}

    subsection{Langues}
    cvlanguage{Anglais}{lu, parlé, écrit}{niveau}
    cvlanguage{Portugais}{lu, écrit, parlé}{niveau}
    cvlanguage{Espagnol}{lu, parlé, écrit}{niveau}
    cvlanguage{Allemand}{notions}{niveau}
    subsection{Informatique}
    cvcomputer{Simulation numérique}{lala} {Conception}{lala}
    cvcomputer{Web}{lala}{Langage}{lala}
    cvcomputer{Autre}{lala}{}{}
    section{Divers}
    cvline{Associatif}{lala}
    cvline{Loisirs}{lala}

    end{document}


    and its result:



    resulting pdf



    Today I suggest you use the compiling engine pdflatex to get directly an pdf -- then you can use an image file *.png or *.jpg for your photo.



    With compiling engine pdftex to get an DVI/PS file you need to use a file *.eps for your image.






    share|improve this answer




























      0














      You did not show us the complete error message(s) you surely got, but an very interesting hint for your issue is your following text:




      The photo is put in the right file and I've tried with and without the
      extension. But it still doesn't work. I've also noticed that the phone
      and address logos don't appear.




      In 2015 there was a changing of class moderncv to version 2.0.0 and -- depending on the used style -- the usage of font fontawesome for phone and address logos and some more or the usage of marvosym.



      You did not tell us which version of class moderncv you used, but for me it seems in your case there is a mix of old version (for example familyname is old syntax) and problems in using font fontawesome. Today fontawesome can be used with pdflatex too, but in the first time of usage it could only be used with lualatex or xelatex.



      At last you had a mix of reasons not getting the symbols and image.



      Today, using an complete installed MiKTeX (includes running fontawesome and the current version 2.0.0 of class moderncv) the following mwe compiles without errors for both compiling pathes LaTeX->DVI-PDF and LaTeX-PDF in TeXnicCenter (please see that I used image example-image-10x16 from package mwe; if you test with your image and still get an error message you have a problem with your image!):



      documentclass[10pt,a4paper,sans]{moderncv} 

      moderncvtheme[black]{classic}

      setlength{hintscolumnwidth}{3cm}

      usepackage[latin1]{inputenc}
      usepackage[french]{babel}
      usepackage[top=1.1cm, bottom=1.1cm, left=2cm, right=2cm]{geometry}

      renewcommand*{namefont}{fontsize{28}{20}mdseriesupshape}
      firstname{huge Me}
      familyname{huge Nom}
      social[linkedin][lala]{/lala}
      title{Student}
      address{rue XX, XX}{XX}
      mobile{+33~XX}
      phone{+33~XX}

      email{XX.XX@gmail.com}
      extrainfo{Femme, 23 ans}
      photo[70pt][0.5pt]{example-image-10x16} % example-image-golden-upright
      quote{Canditure}{}


      begin{document}
      maketitle
      section{Formation}
      cventry{Août à Juillet}{DD}{Ecole}{}{}{Mécanique}
      cventry{Septembre à Juillet}{Cycle}{Université }{}{}{Matériaux}
      cventry{Septembre à Juin}{Tronc}{Université}{}{}{Cycle}
      cventry{Juin}{Bac S}{Lycée}{}{}{Mention}
      section{Expérience Professionnelle}
      cventry{Février à Décembre}{Projet de Fin d'Etudes}{Ecole}{SP}{Fr}{lalala}
      cventry{Septembre à Février}{Stage}{Entreprise}{Clermont-Ferrand}{France}{loulou}
      cventry{Février 2010}{Stage Ouvrier}{Entreprise}{Paris}{France}{Découverte}

      section{Compétences}

      subsection{Langues}
      cvlanguage{Anglais}{lu, parlé, écrit}{niveau}
      cvlanguage{Portugais}{lu, écrit, parlé}{niveau}
      cvlanguage{Espagnol}{lu, parlé, écrit}{niveau}
      cvlanguage{Allemand}{notions}{niveau}
      subsection{Informatique}
      cvcomputer{Simulation numérique}{lala} {Conception}{lala}
      cvcomputer{Web}{lala}{Langage}{lala}
      cvcomputer{Autre}{lala}{}{}
      section{Divers}
      cvline{Associatif}{lala}
      cvline{Loisirs}{lala}

      end{document}


      and its result:



      resulting pdf



      Today I suggest you use the compiling engine pdflatex to get directly an pdf -- then you can use an image file *.png or *.jpg for your photo.



      With compiling engine pdftex to get an DVI/PS file you need to use a file *.eps for your image.






      share|improve this answer


























        0












        0








        0







        You did not show us the complete error message(s) you surely got, but an very interesting hint for your issue is your following text:




        The photo is put in the right file and I've tried with and without the
        extension. But it still doesn't work. I've also noticed that the phone
        and address logos don't appear.




        In 2015 there was a changing of class moderncv to version 2.0.0 and -- depending on the used style -- the usage of font fontawesome for phone and address logos and some more or the usage of marvosym.



        You did not tell us which version of class moderncv you used, but for me it seems in your case there is a mix of old version (for example familyname is old syntax) and problems in using font fontawesome. Today fontawesome can be used with pdflatex too, but in the first time of usage it could only be used with lualatex or xelatex.



        At last you had a mix of reasons not getting the symbols and image.



        Today, using an complete installed MiKTeX (includes running fontawesome and the current version 2.0.0 of class moderncv) the following mwe compiles without errors for both compiling pathes LaTeX->DVI-PDF and LaTeX-PDF in TeXnicCenter (please see that I used image example-image-10x16 from package mwe; if you test with your image and still get an error message you have a problem with your image!):



        documentclass[10pt,a4paper,sans]{moderncv} 

        moderncvtheme[black]{classic}

        setlength{hintscolumnwidth}{3cm}

        usepackage[latin1]{inputenc}
        usepackage[french]{babel}
        usepackage[top=1.1cm, bottom=1.1cm, left=2cm, right=2cm]{geometry}

        renewcommand*{namefont}{fontsize{28}{20}mdseriesupshape}
        firstname{huge Me}
        familyname{huge Nom}
        social[linkedin][lala]{/lala}
        title{Student}
        address{rue XX, XX}{XX}
        mobile{+33~XX}
        phone{+33~XX}

        email{XX.XX@gmail.com}
        extrainfo{Femme, 23 ans}
        photo[70pt][0.5pt]{example-image-10x16} % example-image-golden-upright
        quote{Canditure}{}


        begin{document}
        maketitle
        section{Formation}
        cventry{Août à Juillet}{DD}{Ecole}{}{}{Mécanique}
        cventry{Septembre à Juillet}{Cycle}{Université }{}{}{Matériaux}
        cventry{Septembre à Juin}{Tronc}{Université}{}{}{Cycle}
        cventry{Juin}{Bac S}{Lycée}{}{}{Mention}
        section{Expérience Professionnelle}
        cventry{Février à Décembre}{Projet de Fin d'Etudes}{Ecole}{SP}{Fr}{lalala}
        cventry{Septembre à Février}{Stage}{Entreprise}{Clermont-Ferrand}{France}{loulou}
        cventry{Février 2010}{Stage Ouvrier}{Entreprise}{Paris}{France}{Découverte}

        section{Compétences}

        subsection{Langues}
        cvlanguage{Anglais}{lu, parlé, écrit}{niveau}
        cvlanguage{Portugais}{lu, écrit, parlé}{niveau}
        cvlanguage{Espagnol}{lu, parlé, écrit}{niveau}
        cvlanguage{Allemand}{notions}{niveau}
        subsection{Informatique}
        cvcomputer{Simulation numérique}{lala} {Conception}{lala}
        cvcomputer{Web}{lala}{Langage}{lala}
        cvcomputer{Autre}{lala}{}{}
        section{Divers}
        cvline{Associatif}{lala}
        cvline{Loisirs}{lala}

        end{document}


        and its result:



        resulting pdf



        Today I suggest you use the compiling engine pdflatex to get directly an pdf -- then you can use an image file *.png or *.jpg for your photo.



        With compiling engine pdftex to get an DVI/PS file you need to use a file *.eps for your image.






        share|improve this answer













        You did not show us the complete error message(s) you surely got, but an very interesting hint for your issue is your following text:




        The photo is put in the right file and I've tried with and without the
        extension. But it still doesn't work. I've also noticed that the phone
        and address logos don't appear.




        In 2015 there was a changing of class moderncv to version 2.0.0 and -- depending on the used style -- the usage of font fontawesome for phone and address logos and some more or the usage of marvosym.



        You did not tell us which version of class moderncv you used, but for me it seems in your case there is a mix of old version (for example familyname is old syntax) and problems in using font fontawesome. Today fontawesome can be used with pdflatex too, but in the first time of usage it could only be used with lualatex or xelatex.



        At last you had a mix of reasons not getting the symbols and image.



        Today, using an complete installed MiKTeX (includes running fontawesome and the current version 2.0.0 of class moderncv) the following mwe compiles without errors for both compiling pathes LaTeX->DVI-PDF and LaTeX-PDF in TeXnicCenter (please see that I used image example-image-10x16 from package mwe; if you test with your image and still get an error message you have a problem with your image!):



        documentclass[10pt,a4paper,sans]{moderncv} 

        moderncvtheme[black]{classic}

        setlength{hintscolumnwidth}{3cm}

        usepackage[latin1]{inputenc}
        usepackage[french]{babel}
        usepackage[top=1.1cm, bottom=1.1cm, left=2cm, right=2cm]{geometry}

        renewcommand*{namefont}{fontsize{28}{20}mdseriesupshape}
        firstname{huge Me}
        familyname{huge Nom}
        social[linkedin][lala]{/lala}
        title{Student}
        address{rue XX, XX}{XX}
        mobile{+33~XX}
        phone{+33~XX}

        email{XX.XX@gmail.com}
        extrainfo{Femme, 23 ans}
        photo[70pt][0.5pt]{example-image-10x16} % example-image-golden-upright
        quote{Canditure}{}


        begin{document}
        maketitle
        section{Formation}
        cventry{Août à Juillet}{DD}{Ecole}{}{}{Mécanique}
        cventry{Septembre à Juillet}{Cycle}{Université }{}{}{Matériaux}
        cventry{Septembre à Juin}{Tronc}{Université}{}{}{Cycle}
        cventry{Juin}{Bac S}{Lycée}{}{}{Mention}
        section{Expérience Professionnelle}
        cventry{Février à Décembre}{Projet de Fin d'Etudes}{Ecole}{SP}{Fr}{lalala}
        cventry{Septembre à Février}{Stage}{Entreprise}{Clermont-Ferrand}{France}{loulou}
        cventry{Février 2010}{Stage Ouvrier}{Entreprise}{Paris}{France}{Découverte}

        section{Compétences}

        subsection{Langues}
        cvlanguage{Anglais}{lu, parlé, écrit}{niveau}
        cvlanguage{Portugais}{lu, écrit, parlé}{niveau}
        cvlanguage{Espagnol}{lu, parlé, écrit}{niveau}
        cvlanguage{Allemand}{notions}{niveau}
        subsection{Informatique}
        cvcomputer{Simulation numérique}{lala} {Conception}{lala}
        cvcomputer{Web}{lala}{Langage}{lala}
        cvcomputer{Autre}{lala}{}{}
        section{Divers}
        cvline{Associatif}{lala}
        cvline{Loisirs}{lala}

        end{document}


        and its result:



        resulting pdf



        Today I suggest you use the compiling engine pdflatex to get directly an pdf -- then you can use an image file *.png or *.jpg for your photo.



        With compiling engine pdftex to get an DVI/PS file you need to use a file *.eps for your image.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 32 mins ago









        KurtKurt

        41.8k950165




        41.8k950165






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f245166%2fphoto-doesnt-appear-on-cv-with-class-moderncv%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Why does my Macbook overheat and use so much CPU and energy when on YouTube?Why do so many insist on using...

            How to prevent page numbers from appearing on glossaries?How to remove a dot and a page number in the...

            Puerta de Hutt Referencias Enlaces externos Menú de navegación15°58′00″S 5°42′00″O /...