I want to create a preview image before the actual form upload. I have a preview button for the user to first look at the photo before submitting it. Once the use clicks the preview button, what is the best way in django to respond with an image without actually saving the image?
Thank you!
Pass a file-like such as
StringIOto theHttpResponseconstructor that contains the image data.