python cilcik button and show image code example
Example: tkinter image
from tkinter import *
from PIL import ImageTk, Image
root = Tk()
c = Canvas(root, width=500, height=500)
c.pack()
img = ImageTk.PhotoImage(Image.open(r"imagepath\imagename.extension"))
c.create_image(x, y, image=img, anchor=NW)