Ok my script takes a list of files picks out all jpgs and stores it in files[] now the problem is how do I display all thous images in tk gui window below is what i have that works for 1 image how do i make this work for basically an unlimited amount of images.
for file in files[:]:
image = Image.open(filedir+"/"+file)
##((width, height))
image.thumbnail((160, 240))
photo = ImageTk.PhotoImage(image)
label = Label(image=photo)
label.image = image # keep a reference!
label.pack()
print files
return