title: How to use medium-zoom library together with lazysizes?
body: <p><a href="https://github.com/aFarkas/lazysizes" rel="nofollow noreferrer">lazysizes</a> allows improving UX with transformations on image loading and <a href="https://github.com/francoischalifour/medium-zoom" rel="nofollow noreferrer">medium-zoom</a> unlocks zooming images like Medium. The problem is that lazysizes performs the transformations asynchronously.
  So if you register images for zooming somewhere in the page footer by running something like</p>
  
  <pre><code>mediumZoom( "[data-zoomable]" )
  </code></pre>
  
  <p>it would most likely be executed before the transformations done. And zooming won't work, because it would bind to detached nodes. So how we can use the libraries together?</p>