scribe/spec
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
..
classes Fetch the resized image 2021-07-05 14:56:10 -04:00
components Fetch the resized image 2021-07-05 14:56:10 -04:00
flows Initial app 2021-05-01 17:03:38 -04:00
models Fetch the resized image 2021-07-05 14:56:10 -04:00
setup Initial app 2021-05-01 17:03:38 -04:00
support First step rendering a page 2021-07-04 16:28:03 -04:00
spec_helper.cr Initial app 2021-05-01 17:03:38 -04:00