mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 18:31:57 +03:00
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 |
||
---|---|---|
.. | ||
cors.js | ||
index.js | ||
normalize-image.js | ||
update-user-last-seen.js | ||
upload.js | ||
version-match.js |