mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-29 13:52:10 +03:00
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 |
||
---|---|---|
.. | ||
config | ||
express.js | ||
logging.js | ||
sentry.js | ||
url-utils.js |