091240db48
refs https://github.com/TryGhost/Toolbox/issues/95 - Each media file quires a thumbnail and these changes provide a capability to upload them along with media files. - The thumbnail file is always required and has to be the format of already supported image formats - The thumbnail should be uploaded as a part of "thumbnail" attachment in the request - The regression tests added with this changeset will be claened up and moved to unit-tests (this is a dirty-but-working version!) - The thumbnail always gets a name of the uploaded media file and keeps it's own extension. - The thumbnails is accessible under the url present in the "thumbnail_url" reponse field |
||
---|---|---|
.. | ||
env | ||
defaults.json | ||
helpers.js | ||
index.js | ||
loader.js | ||
overrides.json | ||
utils.js |