hauxir/imgpush

Guessing to add a new feature and change behaivour of existing and return value

yumupdate opened this issue · 2 comments

First of all, thank you for such amazing work!

  1. Would be nice if you consider adding a watermark option in settings ( IMGPUSH in the right lower corner for example )
    2. Change return value after uploading file from filename to full URL pointing to the file.
    example :
    220: return jsonify(filename=str(request.url)+str(output_filename)) but this doesn't work with gunicorn + nginx. it's always returning http://127.0.0.1:5000/filename.jpg

I've solved second issue by forwarding headers in nginx config:
proxy_set_header Host $host:$server_port;

what about watermark feature?