Ver original<input type="checkbox" onclick="document.getElementById('im').src= (this.checked) ? 'imagen1.jpg' : 'imagen2.jpg'" />