title: Tkinter image not showing or giving an error
body: <p>I have tried two different things to try to get an image to show in a label</p>
  
  <pre><code>#This gives " TclError: couldn't recognize data in image file "TestImage.gif" "
  imgPath = "TestImage.gif"
  photo = PhotoImage(file = imgPath)
  label = Label(image = photo)
  label.image = photo # keep a reference!
  label.grid(row = 3, column = 1, padx = 5, pady = 5)
  </code></pre>
  
  <p>and </p>
  
  <pre><code>#This gives no error but the image doesn't show
  imgPath = "TestImage.gif"
  photo = PhotoImage(imgPath)
  label = Label(image = photo)
  label.image = photo # keep a reference!
  label.grid(row = 3, column = 1, padx = 5, pady = 5)
  </code></pre>
  
  <p>The image is in the same folder as all the code. Any suggestions on how to show an image?</p>