# Image Occlusion Enhanced + Scaling Images + Scratchpad

**URL:** <https://forums.ankiweb.net/t/image-occlusion-enhanced-scaling-images-scratchpad/2215>\
**Category:** Add-ons\
**Created:** [August 12, 2020, 5:37pm UTC](https://forums.ankiweb.net/t/image-occlusion-enhanced-scaling-images-scratchpad/2215 "2020-08-12T17:37:38Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![baldr](https://avatars.discourse-cdn.com/v4/letter/b/9f8e36/32.png) [@baldr](https://forums.ankiweb.net/u/baldr)\
**Post date:** [September 13, 2020, 8:18pm UTC](https://forums.ankiweb.net/t/image-occlusion-enhanced-scaling-images-scratchpad/2215/3 "2020-09-13T20:18:52Z")

</div>

As shared by this post: [Fit image to window/app](https://forums.ankiweb.net/t/fit-image-to-window-app/1592/4), 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.

---

_[View the full topic](https://forums.ankiweb.net/t/image-occlusion-enhanced-scaling-images-scratchpad/2215)._
