How to change save image to file default name?

前端 未结 5 736
暗喜
暗喜 2021-01-01 00:37

I have a canvas HTML5 tag that is created by Caman.js.

When I click right in FF and save to file the default name for the file is canvas.png. Since I create a lot of

5条回答
  •  臣服心动
    2021-01-01 01:25

    Hello looks like its possible if server sends a file name

      TRY
    
    
    TO SAVE
    THIS IMAGES

    if you try to save this image it autosaves as google

    now if you go to network tool and https://s3-eu-west-2.amazonaws.com/se-odoo-stage-1/4e35c1945e3eb656548f6ff7a0d33774c1b011f9 analyze response header of this request in which you can find Content-Disposition: attachment; filename=google. so if filename send by server somehow then it can be possible to say to set default image name.

提交回复
热议问题