mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-02 16:41:24 +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 |
||
---|---|---|
.. | ||
adapters | ||
api | ||
data | ||
lib | ||
models | ||
public | ||
services | ||
translations | ||
views | ||
web | ||
analytics-events.js | ||
ghost-server.js | ||
index.js | ||
overrides.js | ||
update-check.js |