scribe/spec/classes
Edward Loveall d863cc27a5
Fetch the resized image
Instead of getting the full size image, the image can be fetched with a
width and height parameter so that only the resized data is
transferred. The url looks like this:

https://cdn-images-1.medium.com/fit/c/<width>/<height>/<media-id>

I picked a max image width of 800px. If the image width is more than
that, it scales the width down to 800, then applies that ratio to the
height. If it's smaller than that, the image is displayed as the
original.
2021-07-05 14:56:10 -04:00
..
iframe_media_resolver_spec.cr First step rendering a page 2021-07-04 16:28:03 -04:00
markup_converter_spec.cr Render a User Anchor 2021-07-04 17:37:45 -04:00
paragraph_converter_spec.cr Fetch the resized image 2021-07-05 14:56:10 -04:00