# Need help including images using pdflatex [closed]

I have a picture of a chart I want to include in my beamer presentation

I have included the following in my preamble

``````\usepackage{graphicx}
\graphicspath{C:/Latexpics/}
``````

I am using MikTeX, when I use the command

``````\includegraphics{Chart}
``````

I get an error saying `file chart not found`

Obviously i have something set up wrong, in the file path i have tried `.jpeg`, `.png`, and `.pdf`

I am using `pdflatex`

any help on where my mistake is would be immensely apprec

-

## closed as too localized by Ian Thompson, Stefan Kottwitz♦Apr 23 '12 at 16:18

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

The correct syntax should be `\graphicspath{{C:/Latexpics/}}` with an additional set of braces – egreg Apr 22 '12 at 15:25
Why don't put the image in a sub folder of your main input file? For example, if you put in `Images` sub folder, then you set `\graphicspath{{Images/}}`. – kiss my armpit Apr 22 '12 at 15:25
I corrected the \graphicspath command, it still gives me the same error. Which file type should i place in the folder? Is should i be including the extension type somewhere. Thanks for the quick responses, I am fairly new to latex and have never been able to figure out including images – user12291 Apr 22 '12 at 15:35
Disregard, the fix worked – user12291 Apr 22 '12 at 15:38

The easy way to include images is just to make sure the image is in the same directory as your `.tex` file. Then when you are including your graphics, you don't have to bother with a path at all. Just have
``````\usepackage{graphicx}