Photo doesn't appear on moderncv Announcing the arrival of Valued Associate #679: Cesar...

Would I be safe to drive a 23 year old truck for 7 hours / 450 miles?

Are bags of holding fireproof?

Recursive calls to a function - why is the address of the parameter passed to it lowering with each call?

Why not use the yoke to control yaw, as well as pitch and roll?

lm and glm function in R

Why did Israel vote against lifting the American embargo on Cuba?

Converting a text document with special format to Pandas DataFrame

Has a Nobel Peace laureate ever been accused of war crimes?

Why these surprising proportionalities of integrals involving odd zeta values?

Short story about an alien named Ushtu(?) coming from a future Earth, when ours was destroyed by a nuclear explosion

What's the connection between Mr. Nancy and fried chicken?

A German immigrant ancestor has a "Registration Affidavit of Alien Enemy" on file. What does that mean exactly?

Are Flameskulls resistant to magical piercing damage?

Who can become a wight?

Etymology of 見舞い

Why does BitLocker not use RSA?

/bin/ls sorts differently than just ls

Why is ArcGIS Pro not symbolizing my entire range of values?

Is "ein Herz wie das meine" an antiquated or colloquial use of the possesive pronoun?

How to create a command for the "strange m" symbol in latex?

Does using the Inspiration rules for character defects encourage My Guy Syndrome?

Why do C and C++ allow the expression (int) + 4*5?

Marquee sign letters

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



Photo doesn't appear on 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 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:



 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 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:



 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 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:



 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 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:



 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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited May 15 '15 at 17:20









Maarten Dhondt

4,75241836




4,75241836










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


















1














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
























    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-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









    1














    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
















    1














    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














    1












    1








    1







    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




























      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


























        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













        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











        share


        share










        answered 2 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-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

            El tren de la libertad Índice Antecedentes "Porque yo decido" Desarrollo de la...

            Castillo d'Acher Características Menú de navegación

            Connecting two nodes from the same mother node horizontallyTikZ: What EXACTLY does the the |- notation for...