I tried to create a button with an image, but the image gets very small and black.
I searched all over the internet for a solution, but it's still not working.
This is part of my code:
ph = tk.PhotoImage(file = "X.gif")
btn = tk.Button(master = back, command = game, height = 10, width = 20)
btn.config(image = ph)
btn.image = ph
btn.grid(row = 0, column = 0)