Jun-25-2021, 10:27 AM
(Jun-25-2021, 10:15 AM)Yoriz Wrote: The image can get garbage collected if there is no reference to it kept in a variable.
Try changing your code to the following to attach the reference to the Label object.
image3 = tkinter.PhotoImage(file="1.png") img_label = Label(cvv_screen, image = image3) img_label.grid(row=4, column=0) img_label.image = image3
Thanks it worked.