Question: the file must have an extension of jpg?
Answer: JPEG files usually have a filename extension of .jpg or .jpeg .