Ive tackled the same issue with displaying images, well done. I had to do this on mobile platforms, iOS and Android, react native etc. Not sure my code could do exactly what yours did. Letting the user change the view and still have images maintain their aspect ratio is good user experience.
Hello connor, do you know how to make an auto scrolling slider with javascript? not the one that changes the image after a certain time, but one that is continuosly scrolling into a loop(infinite), i'm not suggesting anything, i just think it would be a wonderful idea for a video :D :D :D.