@PatFontebasso nice photos on your website! I think for this animation you would need a js script that scales the image according to the scroll-position.
I made this here with the logo, but it gets smaller on scroll.
https://sanmedicus.de
you can use the website codepen.io to mess around and build sketches before implementing it to lay theme.