I am building a photo editor in Django. I have attached the main page code that I have so far: https://jsfiddle.net/xfnLc5to/ I want at updating the brightness scale, the effect to be visible on the photo on the left, even before pressing the submit button. How can I achieve this? So far, I managed to get the brightness value after pressing the submit button, in the views script:
brightness_value = request.POST.get('brightness')
original_photo = request.POST.get('originalPic')
The original_photo variable is still None. How to update the brightness on the photo with the selected brightness value from the slider, before pressing the submit button?