Anki add-on: Smooth image loading in the editor

The add-on is a proof-of-concept to improve a little bit the viewing experience for cards with images in the card browser and make it more-or-less similar to how it looked in Anki 2.0, but not so snappy - https://i.imgur.com/1tMgrBm.mp4 It seems the add-on doesn't cover a few edge cases that might result in Anki showing an error message on closing or opening the browser. Source Code: https://gist.github.com/kelciour/d86e60c775210dad7ba90dff9fec4da6 After installing the add-on, the fields in the editor will be shown with a slight delay, from a few milliseconds if no fields contain images and up to 25-150 ms if there are some images that can be quickly loaded in less than 100ms. Here's a quick demonstration. without the add-on - https://i.imgur.com/eCp4s7S.mp4 after installing the add-on and restarting Anki - https://i.imgur.com/RppZ2fC.mp4 https://www.smashingmagazine.com/2021/06/how-to-fix-cumulative-layout-shift-issues/ -- N. <kelciour@gmail.com>