How to load image from Mysql to Django Template

Hello Django Exports!

I am new to Django. I want to display an image file that is stored in MySQl DB in the Django application.

Is this possible. If so could anyone please help me with the steps. Any link would be helpful for the clarification.

Thanks in Advance!

hello, did you find the solution? generally when an image is saved in the database it is the url of the file. if not, I suppose that the image is saved with some type of encoding such as base 64bits.

this may interest you:

https://docs.djangoproject.com/en/3.2/topics/files/