How to add a photo in my resume Announcing the arrival of Valued Associate #679: Cesar...
"Destructive power" carried by a B-52?
latest version of QGIS fails to edit attribute table of GeoJSON file
Problem with display of presentation
Sally's older brother
How does TikZ render an arc?
How to achieve cat-like agility?
Noise in Eigenvalues plot
systemd and copy (/bin/cp): no such file or directory
Why not use the yoke to control yaw, as well as pitch and roll?
Are there any irrational/transcendental numbers for which the distribution of decimal digits is not uniform?
As a dual citizen, my US passport will expire one day after traveling to the US. Will this work?
Twin's vs. Twins'
Short story about astronauts fertilizing soil with their own bodies
What does 丫 mean? 丫是什么意思?
Did John Wesley plagiarize Matthew Henry...?
How to resize main filesystem
Why BitLocker does not use RSA
One-one communication
How to make an animal which can only breed for a certain number of generations?
Was the pager message from Nick Fury to Captain Marvel unnecessary?
Order between one to one functions and their inverses
Is it OK to use the testing sample to compare algorithms?
Vertical ranges of Column Plots in 12
3D Masyu - A Die
How to add a photo in my resume
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)Add photo to moderncv style banking with modificationsHow to move the contact details in the “Moderncv Oldstyle” templateHow to add a photo to moderncv style bankingAdd photo to moderncv style banking with modificationsModernCV Banking photo titleHow to include a photo into moderncv?Photo doesn't appear on moderncvHow to add skype & photo entries using moderncvHow to include a photo using this codemoderncv: Letter footer in resumeHow to remove a photo in modern CV latex format?Add photo to makelettertitle in moderncv (v.2)
I'm trying to insert an image with command photo of class moderncv in my CV but I've been trying for a while without success.
I'm using the following script:
documentclass[11pt,a4paper,sans]{moderncv}
usepackage{graphicx}%allows to import images
photo[64pt][0.4pt]{/Users/Xime/Documents/CV_LateX/cv_template/Foto_CV.png}
I don't receive any error message but the image does not appear in the document.
Does anybody know what could be the problem?
moderncv
add a comment |
I'm trying to insert an image with command photo of class moderncv in my CV but I've been trying for a while without success.
I'm using the following script:
documentclass[11pt,a4paper,sans]{moderncv}
usepackage{graphicx}%allows to import images
photo[64pt][0.4pt]{/Users/Xime/Documents/CV_LateX/cv_template/Foto_CV.png}
I don't receive any error message but the image does not appear in the document.
Does anybody know what could be the problem?
moderncv
2
Welcome to tex.stackexchange! :) If you put 4 spaces in front, the code will be highlighted properly. Also, saying "hello" and "thanks" is not usually done in stackexchange posts.
– fifaltra
Jan 11 '18 at 22:37
1
Coud you please extend your code snippet to a full minimal working example (MWE)? In the code you already showed, there is nomoderncvstyle{<style>}command. If you use for example thebankingstyle, no photo is included in the header.
– leandriis
Jan 11 '18 at 23:00
add a comment |
I'm trying to insert an image with command photo of class moderncv in my CV but I've been trying for a while without success.
I'm using the following script:
documentclass[11pt,a4paper,sans]{moderncv}
usepackage{graphicx}%allows to import images
photo[64pt][0.4pt]{/Users/Xime/Documents/CV_LateX/cv_template/Foto_CV.png}
I don't receive any error message but the image does not appear in the document.
Does anybody know what could be the problem?
moderncv
I'm trying to insert an image with command photo of class moderncv in my CV but I've been trying for a while without success.
I'm using the following script:
documentclass[11pt,a4paper,sans]{moderncv}
usepackage{graphicx}%allows to import images
photo[64pt][0.4pt]{/Users/Xime/Documents/CV_LateX/cv_template/Foto_CV.png}
I don't receive any error message but the image does not appear in the document.
Does anybody know what could be the problem?
moderncv
moderncv
edited Feb 8 at 1:04
Kurt
41.7k950164
41.7k950164
asked Jan 11 '18 at 22:30
XimenaXimena
211
211
2
Welcome to tex.stackexchange! :) If you put 4 spaces in front, the code will be highlighted properly. Also, saying "hello" and "thanks" is not usually done in stackexchange posts.
– fifaltra
Jan 11 '18 at 22:37
1
Coud you please extend your code snippet to a full minimal working example (MWE)? In the code you already showed, there is nomoderncvstyle{<style>}command. If you use for example thebankingstyle, no photo is included in the header.
– leandriis
Jan 11 '18 at 23:00
add a comment |
2
Welcome to tex.stackexchange! :) If you put 4 spaces in front, the code will be highlighted properly. Also, saying "hello" and "thanks" is not usually done in stackexchange posts.
– fifaltra
Jan 11 '18 at 22:37
1
Coud you please extend your code snippet to a full minimal working example (MWE)? In the code you already showed, there is nomoderncvstyle{<style>}command. If you use for example thebankingstyle, no photo is included in the header.
– leandriis
Jan 11 '18 at 23:00
2
2
Welcome to tex.stackexchange! :) If you put 4 spaces in front, the code will be highlighted properly. Also, saying "hello" and "thanks" is not usually done in stackexchange posts.
– fifaltra
Jan 11 '18 at 22:37
Welcome to tex.stackexchange! :) If you put 4 spaces in front, the code will be highlighted properly. Also, saying "hello" and "thanks" is not usually done in stackexchange posts.
– fifaltra
Jan 11 '18 at 22:37
1
1
Coud you please extend your code snippet to a full minimal working example (MWE)? In the code you already showed, there is no
moderncvstyle{<style>} command. If you use for example the banking style, no photo is included in the header.– leandriis
Jan 11 '18 at 23:00
Coud you please extend your code snippet to a full minimal working example (MWE)? In the code you already showed, there is no
moderncvstyle{<style>} command. If you use for example the banking style, no photo is included in the header.– leandriis
Jan 11 '18 at 23:00
add a comment |
2 Answers
2
active
oldest
votes
Instead of using photo command you can use the following command
Insert the following code before your begin{document} command
usepackage{graphicx}
graphicspath{ {images/} }
and before your use, this command make sure you make a folder named images in the same folder of your pc, where you are working with the tex file. keep your image in this folder, copy the name of your image. After that, you can use the following command anywhere in your code-
includegraphics[width=1.15in, height=1.40in]{name_of_your_image.jpg}
and to know more about this command go here https://www.sharelatex.com/learn/Positioning_images_and_tables
PS: In future, try to provide a sample of your code (minimum number of lines in code, and point out specific part of the code where your problem mainly is) for asking your problem (so that others can understand the problem by running it in their own pc)
add a comment |
It seems (you gave us no compilable code to test!) you are using the style banking of moderncv which does not include an image to the cv.
See the following mwe:
documentclass[11pt,a4paper,sans]{moderncv}
% moderncv themes
moderncvstyle{banking} % casual, classic, banking, oldstyle and fancy
moderncvcolor{blue}
usepackage[utf8]{inputenc}
usepackage[scale=0.75]{geometry}
% personal data
name{John}{Doe}
title{Resumé title}
address{street and number}{postcode city}{country}
phone[mobile]{+1~(234)~567~890}
phone[fixed]{+2~(345)~678~901}
phone[fax]{+3~(456)~789~012}
email{john@doe.org}
homepage{www.johndoe.com}
social[linkedin]{john.doe}
social[twitter]{jdoe}
social[github]{jdoe}
extrainfo{additional information}
photo[64pt][0.4pt]{example-image-a} % <================================
quote{Some quote}
%setlength{footskip}{66pt}
begin{document}
makecvtitle
section{Education}
cventry{year--year}{Degree}{Institution--3}{City--4}{textit{Grade}--5}{Description--6} % arguments 3 to 6 can be left empty
cventry{year--year}{Degree}{Institution}{City}{textit{Grade}}{Description}
section{Languages}
cvitemwithcomment{Language 1}{Skill level}{Comment}
cvitemwithcomment{textbf{Language} 2}{textbf{Skill} level}{Comment}
cvitemwithcomment{Language 3}{Skill level}{Comment}
end{document}
Its result is:

The simplest way now to add the already defined photo into the title of the banking style is to use the following code in the preamble:
makeatletter % <=======================================================
letoldmakecvtitlemakecvtitle % <=========== copy original makecvtitle
renewcommand*{makecvtitle}{% <======================== new makecvtitle
{centeringframebox{includegraphics[width=@photowidth]{@photo}}parvspace{10pt}}%
oldmakecvtitle%
}%
makeatother % <========================================================
That adds the photo centered above the old title.
Note: simply adding includegraphics[width=64pt]{example-image-duck} inside the code of the cv does not help as you can see in the following mwe.
Complete mwe:
documentclass[11pt,a4paper,sans]{moderncv}
% moderncv themes
moderncvstyle{banking} % casual, classic, banking, oldstyle and fancy
moderncvcolor{blue}
usepackage[utf8]{inputenc}
usepackage[scale=0.75]{geometry}
makeatletter % <=======================================================
letoldmakecvtitlemakecvtitle % <=========== copy original makecvtitle
renewcommand*{makecvtitle}{% <======================== new makecvtitle
{centeringframebox{includegraphics[width=@photowidth]{@photo}}parvspace{10pt}}%
oldmakecvtitle%
}%
makeatother % <========================================================
% personal data
name{John}{Doe}
title{Resumé title}
address{street and number}{postcode city}{country}
phone[mobile]{+1~(234)~567~890}
phone[fixed]{+2~(345)~678~901}
phone[fax]{+3~(456)~789~012}
email{john@doe.org}
homepage{www.johndoe.com}
social[linkedin]{john.doe}
social[twitter]{jdoe}
social[github]{jdoe}
extrainfo{additional information}
photo[64pt][0.4pt]{example-image-a} % <================================
quote{Some quote}
%setlength{footskip}{66pt}
begin{document}
makecvtitle
section{Education}
cventry{year--year}{Degree}{Institution--3}{City--4}{textit{Grade}--5}{Description--6} % arguments 3 to 6 can be left empty
cventry{year--year}{Degree}{Institution}{City}{textit{Grade}}{Description}
includegraphics[width=64pt]{example-image-duck} % <====================
section{Languages}
cvitemwithcomment{Language 1}{Skill level}{Comment}
cvitemwithcomment{textbf{Language} 2}{textbf{Skill} level}{Comment}
cvitemwithcomment{Language 3}{Skill level}{Comment}
end{document}
with the result:

As you can see the title image is centered above the title, the separate image example-image-duck is displayed later. If you want to get the image on the left or right of the banking title you need at last to rewrite the banking title to get a pleasing result (complete title including image centered or right/left justified). But because you did not tell where you want the image I let this for you.
To see all posibilities moderncv offers, please see my answer to this question.
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f409954%2fhow-to-add-a-photo-in-my-resume%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
Instead of using photo command you can use the following command
Insert the following code before your begin{document} command
usepackage{graphicx}
graphicspath{ {images/} }
and before your use, this command make sure you make a folder named images in the same folder of your pc, where you are working with the tex file. keep your image in this folder, copy the name of your image. After that, you can use the following command anywhere in your code-
includegraphics[width=1.15in, height=1.40in]{name_of_your_image.jpg}
and to know more about this command go here https://www.sharelatex.com/learn/Positioning_images_and_tables
PS: In future, try to provide a sample of your code (minimum number of lines in code, and point out specific part of the code where your problem mainly is) for asking your problem (so that others can understand the problem by running it in their own pc)
add a comment |
Instead of using photo command you can use the following command
Insert the following code before your begin{document} command
usepackage{graphicx}
graphicspath{ {images/} }
and before your use, this command make sure you make a folder named images in the same folder of your pc, where you are working with the tex file. keep your image in this folder, copy the name of your image. After that, you can use the following command anywhere in your code-
includegraphics[width=1.15in, height=1.40in]{name_of_your_image.jpg}
and to know more about this command go here https://www.sharelatex.com/learn/Positioning_images_and_tables
PS: In future, try to provide a sample of your code (minimum number of lines in code, and point out specific part of the code where your problem mainly is) for asking your problem (so that others can understand the problem by running it in their own pc)
add a comment |
Instead of using photo command you can use the following command
Insert the following code before your begin{document} command
usepackage{graphicx}
graphicspath{ {images/} }
and before your use, this command make sure you make a folder named images in the same folder of your pc, where you are working with the tex file. keep your image in this folder, copy the name of your image. After that, you can use the following command anywhere in your code-
includegraphics[width=1.15in, height=1.40in]{name_of_your_image.jpg}
and to know more about this command go here https://www.sharelatex.com/learn/Positioning_images_and_tables
PS: In future, try to provide a sample of your code (minimum number of lines in code, and point out specific part of the code where your problem mainly is) for asking your problem (so that others can understand the problem by running it in their own pc)
Instead of using photo command you can use the following command
Insert the following code before your begin{document} command
usepackage{graphicx}
graphicspath{ {images/} }
and before your use, this command make sure you make a folder named images in the same folder of your pc, where you are working with the tex file. keep your image in this folder, copy the name of your image. After that, you can use the following command anywhere in your code-
includegraphics[width=1.15in, height=1.40in]{name_of_your_image.jpg}
and to know more about this command go here https://www.sharelatex.com/learn/Positioning_images_and_tables
PS: In future, try to provide a sample of your code (minimum number of lines in code, and point out specific part of the code where your problem mainly is) for asking your problem (so that others can understand the problem by running it in their own pc)
edited Jan 12 '18 at 0:12
answered Jan 12 '18 at 0:07
Moinuddin ShuvoMoinuddin Shuvo
89311
89311
add a comment |
add a comment |
It seems (you gave us no compilable code to test!) you are using the style banking of moderncv which does not include an image to the cv.
See the following mwe:
documentclass[11pt,a4paper,sans]{moderncv}
% moderncv themes
moderncvstyle{banking} % casual, classic, banking, oldstyle and fancy
moderncvcolor{blue}
usepackage[utf8]{inputenc}
usepackage[scale=0.75]{geometry}
% personal data
name{John}{Doe}
title{Resumé title}
address{street and number}{postcode city}{country}
phone[mobile]{+1~(234)~567~890}
phone[fixed]{+2~(345)~678~901}
phone[fax]{+3~(456)~789~012}
email{john@doe.org}
homepage{www.johndoe.com}
social[linkedin]{john.doe}
social[twitter]{jdoe}
social[github]{jdoe}
extrainfo{additional information}
photo[64pt][0.4pt]{example-image-a} % <================================
quote{Some quote}
%setlength{footskip}{66pt}
begin{document}
makecvtitle
section{Education}
cventry{year--year}{Degree}{Institution--3}{City--4}{textit{Grade}--5}{Description--6} % arguments 3 to 6 can be left empty
cventry{year--year}{Degree}{Institution}{City}{textit{Grade}}{Description}
section{Languages}
cvitemwithcomment{Language 1}{Skill level}{Comment}
cvitemwithcomment{textbf{Language} 2}{textbf{Skill} level}{Comment}
cvitemwithcomment{Language 3}{Skill level}{Comment}
end{document}
Its result is:

The simplest way now to add the already defined photo into the title of the banking style is to use the following code in the preamble:
makeatletter % <=======================================================
letoldmakecvtitlemakecvtitle % <=========== copy original makecvtitle
renewcommand*{makecvtitle}{% <======================== new makecvtitle
{centeringframebox{includegraphics[width=@photowidth]{@photo}}parvspace{10pt}}%
oldmakecvtitle%
}%
makeatother % <========================================================
That adds the photo centered above the old title.
Note: simply adding includegraphics[width=64pt]{example-image-duck} inside the code of the cv does not help as you can see in the following mwe.
Complete mwe:
documentclass[11pt,a4paper,sans]{moderncv}
% moderncv themes
moderncvstyle{banking} % casual, classic, banking, oldstyle and fancy
moderncvcolor{blue}
usepackage[utf8]{inputenc}
usepackage[scale=0.75]{geometry}
makeatletter % <=======================================================
letoldmakecvtitlemakecvtitle % <=========== copy original makecvtitle
renewcommand*{makecvtitle}{% <======================== new makecvtitle
{centeringframebox{includegraphics[width=@photowidth]{@photo}}parvspace{10pt}}%
oldmakecvtitle%
}%
makeatother % <========================================================
% personal data
name{John}{Doe}
title{Resumé title}
address{street and number}{postcode city}{country}
phone[mobile]{+1~(234)~567~890}
phone[fixed]{+2~(345)~678~901}
phone[fax]{+3~(456)~789~012}
email{john@doe.org}
homepage{www.johndoe.com}
social[linkedin]{john.doe}
social[twitter]{jdoe}
social[github]{jdoe}
extrainfo{additional information}
photo[64pt][0.4pt]{example-image-a} % <================================
quote{Some quote}
%setlength{footskip}{66pt}
begin{document}
makecvtitle
section{Education}
cventry{year--year}{Degree}{Institution--3}{City--4}{textit{Grade}--5}{Description--6} % arguments 3 to 6 can be left empty
cventry{year--year}{Degree}{Institution}{City}{textit{Grade}}{Description}
includegraphics[width=64pt]{example-image-duck} % <====================
section{Languages}
cvitemwithcomment{Language 1}{Skill level}{Comment}
cvitemwithcomment{textbf{Language} 2}{textbf{Skill} level}{Comment}
cvitemwithcomment{Language 3}{Skill level}{Comment}
end{document}
with the result:

As you can see the title image is centered above the title, the separate image example-image-duck is displayed later. If you want to get the image on the left or right of the banking title you need at last to rewrite the banking title to get a pleasing result (complete title including image centered or right/left justified). But because you did not tell where you want the image I let this for you.
To see all posibilities moderncv offers, please see my answer to this question.
add a comment |
It seems (you gave us no compilable code to test!) you are using the style banking of moderncv which does not include an image to the cv.
See the following mwe:
documentclass[11pt,a4paper,sans]{moderncv}
% moderncv themes
moderncvstyle{banking} % casual, classic, banking, oldstyle and fancy
moderncvcolor{blue}
usepackage[utf8]{inputenc}
usepackage[scale=0.75]{geometry}
% personal data
name{John}{Doe}
title{Resumé title}
address{street and number}{postcode city}{country}
phone[mobile]{+1~(234)~567~890}
phone[fixed]{+2~(345)~678~901}
phone[fax]{+3~(456)~789~012}
email{john@doe.org}
homepage{www.johndoe.com}
social[linkedin]{john.doe}
social[twitter]{jdoe}
social[github]{jdoe}
extrainfo{additional information}
photo[64pt][0.4pt]{example-image-a} % <================================
quote{Some quote}
%setlength{footskip}{66pt}
begin{document}
makecvtitle
section{Education}
cventry{year--year}{Degree}{Institution--3}{City--4}{textit{Grade}--5}{Description--6} % arguments 3 to 6 can be left empty
cventry{year--year}{Degree}{Institution}{City}{textit{Grade}}{Description}
section{Languages}
cvitemwithcomment{Language 1}{Skill level}{Comment}
cvitemwithcomment{textbf{Language} 2}{textbf{Skill} level}{Comment}
cvitemwithcomment{Language 3}{Skill level}{Comment}
end{document}
Its result is:

The simplest way now to add the already defined photo into the title of the banking style is to use the following code in the preamble:
makeatletter % <=======================================================
letoldmakecvtitlemakecvtitle % <=========== copy original makecvtitle
renewcommand*{makecvtitle}{% <======================== new makecvtitle
{centeringframebox{includegraphics[width=@photowidth]{@photo}}parvspace{10pt}}%
oldmakecvtitle%
}%
makeatother % <========================================================
That adds the photo centered above the old title.
Note: simply adding includegraphics[width=64pt]{example-image-duck} inside the code of the cv does not help as you can see in the following mwe.
Complete mwe:
documentclass[11pt,a4paper,sans]{moderncv}
% moderncv themes
moderncvstyle{banking} % casual, classic, banking, oldstyle and fancy
moderncvcolor{blue}
usepackage[utf8]{inputenc}
usepackage[scale=0.75]{geometry}
makeatletter % <=======================================================
letoldmakecvtitlemakecvtitle % <=========== copy original makecvtitle
renewcommand*{makecvtitle}{% <======================== new makecvtitle
{centeringframebox{includegraphics[width=@photowidth]{@photo}}parvspace{10pt}}%
oldmakecvtitle%
}%
makeatother % <========================================================
% personal data
name{John}{Doe}
title{Resumé title}
address{street and number}{postcode city}{country}
phone[mobile]{+1~(234)~567~890}
phone[fixed]{+2~(345)~678~901}
phone[fax]{+3~(456)~789~012}
email{john@doe.org}
homepage{www.johndoe.com}
social[linkedin]{john.doe}
social[twitter]{jdoe}
social[github]{jdoe}
extrainfo{additional information}
photo[64pt][0.4pt]{example-image-a} % <================================
quote{Some quote}
%setlength{footskip}{66pt}
begin{document}
makecvtitle
section{Education}
cventry{year--year}{Degree}{Institution--3}{City--4}{textit{Grade}--5}{Description--6} % arguments 3 to 6 can be left empty
cventry{year--year}{Degree}{Institution}{City}{textit{Grade}}{Description}
includegraphics[width=64pt]{example-image-duck} % <====================
section{Languages}
cvitemwithcomment{Language 1}{Skill level}{Comment}
cvitemwithcomment{textbf{Language} 2}{textbf{Skill} level}{Comment}
cvitemwithcomment{Language 3}{Skill level}{Comment}
end{document}
with the result:

As you can see the title image is centered above the title, the separate image example-image-duck is displayed later. If you want to get the image on the left or right of the banking title you need at last to rewrite the banking title to get a pleasing result (complete title including image centered or right/left justified). But because you did not tell where you want the image I let this for you.
To see all posibilities moderncv offers, please see my answer to this question.
add a comment |
It seems (you gave us no compilable code to test!) you are using the style banking of moderncv which does not include an image to the cv.
See the following mwe:
documentclass[11pt,a4paper,sans]{moderncv}
% moderncv themes
moderncvstyle{banking} % casual, classic, banking, oldstyle and fancy
moderncvcolor{blue}
usepackage[utf8]{inputenc}
usepackage[scale=0.75]{geometry}
% personal data
name{John}{Doe}
title{Resumé title}
address{street and number}{postcode city}{country}
phone[mobile]{+1~(234)~567~890}
phone[fixed]{+2~(345)~678~901}
phone[fax]{+3~(456)~789~012}
email{john@doe.org}
homepage{www.johndoe.com}
social[linkedin]{john.doe}
social[twitter]{jdoe}
social[github]{jdoe}
extrainfo{additional information}
photo[64pt][0.4pt]{example-image-a} % <================================
quote{Some quote}
%setlength{footskip}{66pt}
begin{document}
makecvtitle
section{Education}
cventry{year--year}{Degree}{Institution--3}{City--4}{textit{Grade}--5}{Description--6} % arguments 3 to 6 can be left empty
cventry{year--year}{Degree}{Institution}{City}{textit{Grade}}{Description}
section{Languages}
cvitemwithcomment{Language 1}{Skill level}{Comment}
cvitemwithcomment{textbf{Language} 2}{textbf{Skill} level}{Comment}
cvitemwithcomment{Language 3}{Skill level}{Comment}
end{document}
Its result is:

The simplest way now to add the already defined photo into the title of the banking style is to use the following code in the preamble:
makeatletter % <=======================================================
letoldmakecvtitlemakecvtitle % <=========== copy original makecvtitle
renewcommand*{makecvtitle}{% <======================== new makecvtitle
{centeringframebox{includegraphics[width=@photowidth]{@photo}}parvspace{10pt}}%
oldmakecvtitle%
}%
makeatother % <========================================================
That adds the photo centered above the old title.
Note: simply adding includegraphics[width=64pt]{example-image-duck} inside the code of the cv does not help as you can see in the following mwe.
Complete mwe:
documentclass[11pt,a4paper,sans]{moderncv}
% moderncv themes
moderncvstyle{banking} % casual, classic, banking, oldstyle and fancy
moderncvcolor{blue}
usepackage[utf8]{inputenc}
usepackage[scale=0.75]{geometry}
makeatletter % <=======================================================
letoldmakecvtitlemakecvtitle % <=========== copy original makecvtitle
renewcommand*{makecvtitle}{% <======================== new makecvtitle
{centeringframebox{includegraphics[width=@photowidth]{@photo}}parvspace{10pt}}%
oldmakecvtitle%
}%
makeatother % <========================================================
% personal data
name{John}{Doe}
title{Resumé title}
address{street and number}{postcode city}{country}
phone[mobile]{+1~(234)~567~890}
phone[fixed]{+2~(345)~678~901}
phone[fax]{+3~(456)~789~012}
email{john@doe.org}
homepage{www.johndoe.com}
social[linkedin]{john.doe}
social[twitter]{jdoe}
social[github]{jdoe}
extrainfo{additional information}
photo[64pt][0.4pt]{example-image-a} % <================================
quote{Some quote}
%setlength{footskip}{66pt}
begin{document}
makecvtitle
section{Education}
cventry{year--year}{Degree}{Institution--3}{City--4}{textit{Grade}--5}{Description--6} % arguments 3 to 6 can be left empty
cventry{year--year}{Degree}{Institution}{City}{textit{Grade}}{Description}
includegraphics[width=64pt]{example-image-duck} % <====================
section{Languages}
cvitemwithcomment{Language 1}{Skill level}{Comment}
cvitemwithcomment{textbf{Language} 2}{textbf{Skill} level}{Comment}
cvitemwithcomment{Language 3}{Skill level}{Comment}
end{document}
with the result:

As you can see the title image is centered above the title, the separate image example-image-duck is displayed later. If you want to get the image on the left or right of the banking title you need at last to rewrite the banking title to get a pleasing result (complete title including image centered or right/left justified). But because you did not tell where you want the image I let this for you.
To see all posibilities moderncv offers, please see my answer to this question.
It seems (you gave us no compilable code to test!) you are using the style banking of moderncv which does not include an image to the cv.
See the following mwe:
documentclass[11pt,a4paper,sans]{moderncv}
% moderncv themes
moderncvstyle{banking} % casual, classic, banking, oldstyle and fancy
moderncvcolor{blue}
usepackage[utf8]{inputenc}
usepackage[scale=0.75]{geometry}
% personal data
name{John}{Doe}
title{Resumé title}
address{street and number}{postcode city}{country}
phone[mobile]{+1~(234)~567~890}
phone[fixed]{+2~(345)~678~901}
phone[fax]{+3~(456)~789~012}
email{john@doe.org}
homepage{www.johndoe.com}
social[linkedin]{john.doe}
social[twitter]{jdoe}
social[github]{jdoe}
extrainfo{additional information}
photo[64pt][0.4pt]{example-image-a} % <================================
quote{Some quote}
%setlength{footskip}{66pt}
begin{document}
makecvtitle
section{Education}
cventry{year--year}{Degree}{Institution--3}{City--4}{textit{Grade}--5}{Description--6} % arguments 3 to 6 can be left empty
cventry{year--year}{Degree}{Institution}{City}{textit{Grade}}{Description}
section{Languages}
cvitemwithcomment{Language 1}{Skill level}{Comment}
cvitemwithcomment{textbf{Language} 2}{textbf{Skill} level}{Comment}
cvitemwithcomment{Language 3}{Skill level}{Comment}
end{document}
Its result is:

The simplest way now to add the already defined photo into the title of the banking style is to use the following code in the preamble:
makeatletter % <=======================================================
letoldmakecvtitlemakecvtitle % <=========== copy original makecvtitle
renewcommand*{makecvtitle}{% <======================== new makecvtitle
{centeringframebox{includegraphics[width=@photowidth]{@photo}}parvspace{10pt}}%
oldmakecvtitle%
}%
makeatother % <========================================================
That adds the photo centered above the old title.
Note: simply adding includegraphics[width=64pt]{example-image-duck} inside the code of the cv does not help as you can see in the following mwe.
Complete mwe:
documentclass[11pt,a4paper,sans]{moderncv}
% moderncv themes
moderncvstyle{banking} % casual, classic, banking, oldstyle and fancy
moderncvcolor{blue}
usepackage[utf8]{inputenc}
usepackage[scale=0.75]{geometry}
makeatletter % <=======================================================
letoldmakecvtitlemakecvtitle % <=========== copy original makecvtitle
renewcommand*{makecvtitle}{% <======================== new makecvtitle
{centeringframebox{includegraphics[width=@photowidth]{@photo}}parvspace{10pt}}%
oldmakecvtitle%
}%
makeatother % <========================================================
% personal data
name{John}{Doe}
title{Resumé title}
address{street and number}{postcode city}{country}
phone[mobile]{+1~(234)~567~890}
phone[fixed]{+2~(345)~678~901}
phone[fax]{+3~(456)~789~012}
email{john@doe.org}
homepage{www.johndoe.com}
social[linkedin]{john.doe}
social[twitter]{jdoe}
social[github]{jdoe}
extrainfo{additional information}
photo[64pt][0.4pt]{example-image-a} % <================================
quote{Some quote}
%setlength{footskip}{66pt}
begin{document}
makecvtitle
section{Education}
cventry{year--year}{Degree}{Institution--3}{City--4}{textit{Grade}--5}{Description--6} % arguments 3 to 6 can be left empty
cventry{year--year}{Degree}{Institution}{City}{textit{Grade}}{Description}
includegraphics[width=64pt]{example-image-duck} % <====================
section{Languages}
cvitemwithcomment{Language 1}{Skill level}{Comment}
cvitemwithcomment{textbf{Language} 2}{textbf{Skill} level}{Comment}
cvitemwithcomment{Language 3}{Skill level}{Comment}
end{document}
with the result:

As you can see the title image is centered above the title, the separate image example-image-duck is displayed later. If you want to get the image on the left or right of the banking title you need at last to rewrite the banking title to get a pleasing result (complete title including image centered or right/left justified). But because you did not tell where you want the image I let this for you.
To see all posibilities moderncv offers, please see my answer to this question.
edited 10 mins ago
answered Apr 14 '18 at 17:05
KurtKurt
41.7k950164
41.7k950164
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f409954%2fhow-to-add-a-photo-in-my-resume%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
2
Welcome to tex.stackexchange! :) If you put 4 spaces in front, the code will be highlighted properly. Also, saying "hello" and "thanks" is not usually done in stackexchange posts.
– fifaltra
Jan 11 '18 at 22:37
1
Coud you please extend your code snippet to a full minimal working example (MWE)? In the code you already showed, there is no
moderncvstyle{<style>}command. If you use for example thebankingstyle, no photo is included in the header.– leandriis
Jan 11 '18 at 23:00