How to stop broken images showing

后端 未结 12 2362
谎友^
谎友^ 2021-01-02 12:08

I have a table with some images that I want to start out with no images in them.I have set the src=\"\".But when viewed in a browser it shows broken image pics.



        
12条回答
  •  天命终不由人
    2021-01-02 12:18

    Try this:

    
    

    Why would you want to do that? I'm using an invisible image to track users -- it hits that url, which is not actually an image and doesn't return one, and logs the user making the request. I'm doing this in environments where I don't have client-side scripting (html email and Google Sites), and this is the easiest way to do it.

提交回复
热议问题