- I have a view that save an image in my media file (im.save('media/test.png')
- In my template, I try to display it (img src="/media/test.png")
The image will only appear after I reload the page How can I display the image whitout reloading the page please ?
I see your code and image path perfectly. but implement some extra functionality.
You need to add JavaScript, when you upload a new image that time without page reloading you see your uploaded image.
HTML
Js query
for more information Click on this link