I used previous comments and tried to insert an image in a very easy way, but I don''t know why it gives me errors and doesn't produce results. I have my picture in the same folder of .tex, but doesn't work. here is the simplest code I use:







and here is the error: enter image description here

put on hold as off-topic by CarLaTeX, Stefan Pinnow, Raaja, Henri Menke, JouleV yesterday

  • This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 2
    Hi, welcome. Looks from the error as though the image you're trying to include is corrupt. Note it says "no JPEG header found". Have you tried other images? – Torbjørn T. Apr 11 '18 at 17:50
  • Off topic: Observe that blank lines in LaTeX have meaning(new paragraph), so do not make any, where they do not belong. – hpekristiansen Apr 11 '18 at 18:07
  • Hi, thank you. I am happy I am here having you guys helping. You might be right, cause the format of my picture is .tiff and I had changed that to JPEG. So does LaTeX knows .tiff? – Benjamin Soraghi Apr 11 '18 at 18:13
  • 1
    unrelated but \center is not intended to be used as a command like that, use \centering – David Carlisle Apr 11 '18 at 18:34
  • 4
    I'm voting to close this question as off-topic because solved in comments. – CarLaTeX 2 days ago

Browse other questions tagged or ask your own question.