change source jquery img code example
Example 1: jquery change picture source
$("#my_image").attr("src","second.jpg");
Example 2: jquery change picture src
<img id="my_image" src="first.jpg"/>
<script>
//Then you can change the src of your image with jQuery like this:
$("#my_image").attr("src","second.jpg");
</script>