title: Resizing image Python Tkinter
body: <p>Hello I am having issues with resizing my picture. I am trying to resize the image to fit the blue drawing. However the way I am doing it, returns an error. </p>
  
  <pre><code>File "gui.py", line 42, in fileDialog
  self.display = Label(image=self.photo.resize((800, 600),Image.ANTIALIAS))
  AttributeError: 'PhotoImage' object has no attribute 'resize
  </code></pre>
  
  <p>I am just testing it to see if it fits by doing 800,600 I really don't know. </p>
  
  <pre><code>def fileDialog(self):
      self.filename = filedialog.askopenfilename(title="Select")
      self.label = ttk.Label(self.labelFrame, text="")
      self.label.grid(column=1, row=2)
      self.label.configure(text=self.filename)
      self.photo= ImageTk.PhotoImage(file = self.filename)
      self.display = Label(image=self.photo.resize((800, 600),Image.ANTIALIAS))
      self.display.grid(row=0)
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/Ps4tp.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Ps4tp.png" alt="Insert image in blue drawing"></a></p>
  
  <p>Is there something that I am doing incorrectly? Please advise.</p>