How to add fadeIn effect to lazyload?

function lazyload(event) {
  for (var i = n; i < imgNum; iPP) {
    if (img.eq(i).offset().top < parseInt($(window).height()) + parseInt($(window).scrollTop())) {
      if (img.eq(i).attr("src") == "../images/loading/xxx.svg") {
        var src = img.eq(i).attr("data-src");
        img.eq(i).attr("src", src);

        n = i + 1;
      }
    }
  }
}

when the original movie is finished, the LOADING will be replaced into the original film
, but I want him to replace it into the original film not directly, but with a fadeIn effect
, but I believe that this is not Juqery.. So adding fadeIn () seems to be useful?

Apr.09,2021

I don't use this anymore

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e9f263-1a37.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e9f263-1a37.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?