So I have a gif and I need help animating it and putting in a loop. I can get the first frame to run but I can't get the next couple of frames to work. FYI the gif has like 51 frames.
import tkinter as tk
window = tk.Tk()
#make label for main page
windowmaintext = tk.Label(window, text="Welcome, to the Supercar Maintenance Calculator")
windowmaintext.grid(column = 1, row = 1)
#make label for main page
windowmaintext2 = tk.Label(window, text="Which super car would you like to explore?")
windowmaintext2.grid(column = 1, row = 2)
#make button to explore AMG cars
start = tk.Button(text= "Mercedes Benz AMG",fg = 'Blue')
start.grid (column = 1, row = 3)
#make button to explore audi cars
start = tk.Button(text= "Audi R8",fg = 'Red')
start.grid (column = 1, row = 4)
#make button to explore Lamborhini cars
start = tk.Button(text= "Lamborghini Huracan",fg = 'Gold')
start.grid (column = 1, row = 5)
#make button to explore Mclaren 720s cars
start = tk.Button(text= "Mclaren 720s",fg = 'Purple')
start.grid (column = 1, row = 6)
#name the window
window.title("Supercar Maintenance Calculator")
#open gif
logo = tk.PhotoImage(file="giphy.gif")
w = tk.Label(window,image=logo).grid(column = 1, row = 7)
#window size
window.geometry("600x600")
#end of page
window.mainloop()