2👍
✅
Trigger click
event on first image yourself.
<script>
$(document).ready(function () {
$(".thumb").on("click", function(){
$("#imageHere").attr('src', $(this).attr("src"));
});
// ======= HERE =======
$( ".thumb:first" ).click();
});
</script>
Source:stackexchange.com