This is at the bottom of my functions.php (in a child theme) https://i.imgur.com/n0LazMr.png
But I still have this nonsense going on (just wanted to make it easier to see the resized images.) I also circled something that might be part of/the cause of the problem, if anyone recognizes it. https://i.imgur.com/gFrA9W7.png
I know what lazy loading is but I just mean specifically if there’s something new regarding lazy loading alt images that might cause this code to not work anymore.
Any ideas? Thank you