f27282bc3f
no issue - adds `populateImageSizes()` to our mobiledoc lib module - uses `image-size` lib to speed up reading of image dimensions - for local images, use storage adapter with same guards as used by `handle-image-sizes` middleware so that we don't insert srcsets for images that aren't transformable - for unsplash images, remove any width and crop params from the url so it points to the full-size image - use `populateImageSizes(mobiledoc)` to modify post model's mobiledoc when re-rendering |
||
---|---|---|
.. | ||
client@243321fd2d | ||
frontend | ||
server | ||
shared | ||
index.js |