+ 1
How to integrate an image to my CRUD form in tkinter?
Hello guys, I have a CRUD form which is working properly, but I want to add the option to insert an image which can work with my CRUD buttons, I'm using SQLite to store my CRUDs entries data. I've heard about BLOB which can store photos in my sqlite database or it's bettert to save the photos in my folder?. thanks in advance
4 ответов
0
iTech my bad, I forgot to mention that I know how to add images in tkinter, but I want to know how to use it with my CRUD form
0
did u tried widget.get() and widget.delete() methods?
0
or smth like that
#add image button
def add_image():
label.config(image= tkinter.filedialog.askopenfilename())
#clear image button
def clear_image():
label.config(image="" )