I dont want to see your src

Hide the src of an img and display what you want.

HTML

<!--
    2012 by tim-pietrusky.de
    
    "Hide" the src of an img and just show the "background" or something you want. 

    A jsfiddle for http://stackoverflow.com/a/10247567/1012875
-->

<h2>This is just a kitten</h2>
<img src="http://placekitten.com/g/133/370" alt="some kitten">

<br><br>

<h2>This is a kitten "without" src<h2>
<img src="http://placekitten.com/g/133/370" alt="some kitten" class="i_dont_want_to_see_your_src">

CSS

.i_dont_want_to_see_your_src {
    background:  url("http://placekitten.com/g/133/370");
    
    /* hide src */
    height:0;
    width:0;
    
    /* just show the background */
    padding:45px 20px;
}