mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-19 00:11:49 +03:00
eef7932e94
refs #8868 - Removed image-size in blog logo fn for meta data and made it synchronous - Renamed `image-size-from-url.js` to `image-size.js` (incl. the test) - Added second fn `getImageSizeFromFilePath` that reads from local file storage - Added guard in `getImageSizeFromUrl` that checks if the image should be on local file storage and uses the new fn then instead - Added a fn `fetchDimensionsFromBuffer` that takes the file buffer and returns an `imageObject` with dimensions. - Added a new utils.js in `adapters/storage` for getting the file storage path |
||
---|---|---|
.. | ||
packages | ||
asset-hash.js | ||
blog-icon.js | ||
cached-image-size-from-url.js | ||
ghost-version.js | ||
gravatar.js | ||
image-size.js | ||
index.js | ||
labs.js | ||
make-absolute-urls.js | ||
markdown-converter.js | ||
mobiledoc-converter.js | ||
pipeline.js | ||
read-csv.js | ||
remove-open-redirect-from-url.js | ||
sequence.js | ||
social-urls.js | ||
tokens.js | ||
url.js | ||
visibility.js | ||
zip-folder.js |