Ghost/core/server/web/api/middleware
Naz 091240db48 Added thumbnail upload support to Media API
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
2021-11-04 10:23:29 +04:00
..
cors.js Updated all Origin header checks to handle 'null' (#12246) 2020-10-01 09:37:22 +01:00
index.js Moved normalize image mw into api app 2020-04-22 17:48:54 +01:00
normalize-image.js Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
update-user-last-seen.js Replaced constants file with @tryghost/constants 2020-08-11 12:51:16 +01:00
upload.js Added thumbnail upload support to Media API 2021-11-04 10:23:29 +04:00
version-match.js Replaced i18n.t w/ tpl in version-match middleware 2021-10-04 15:32:53 +01:00