how to send png image from server to display in browser via ajax

前端 未结 4 636
别跟我提以往
别跟我提以往 2021-01-04 09:37

I have been having a hard time with what must be an incredibly normal task. I upload and save images to my web server and save the path to the file in MySQL data base (this

4条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-04 10:42

    You can't do it via ajax.

    You could do something like this:

    
    

    Then use JavaScript to change the query string.

提交回复
热议问题