mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:36:14 -05:00
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 |
||
---|---|---|
.. | ||
blog-icon_spec.js | ||
cached-image-size-from-url_spec.js | ||
image-size_spec.js | ||
make-absolute-urls_spec.js | ||
mobiledoc-converter_spec.js | ||
packages_spec.js | ||
read-csv_spec.js | ||
tokens_spec.js | ||
url_spec.js | ||
zip-folder_spec.js |