Image uploading from streamlit and store in sqlite

I am trying to get user input Image from streamlit and store in sqlite database. And retrieve from Sqlite and show in streamlit as well. But it doesnt work.
Any suggestion on how to do it?
Thanks…

Hi @joylyjelly, welcome to the Streamlit community!

Could you be more specific when you say ‘it doesn’t work’? What Python code are you running, and where are you hosting the app?

Best,
Randy