Image Occlusion Enhanced + Scaling Images + Scratchpad

As shared by this post: Fit image to window/app, max-height does not work with a percentage for me, only max-width.

Any ideas why? If I could get max-height working with a percentage variable I think that would solve it.