mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
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 |
||
---|---|---|
.. | ||
actions.test.js | ||
config.test.js | ||
custom_theme_settings.test.js | ||
db.test.js | ||
email_preview.test.js | ||
emails.test.js | ||
images.test.js | ||
integrations.test.js | ||
invites.test.js | ||
key_authentication.test.js | ||
labels.test.js | ||
mail.test.js | ||
media.test.js | ||
members.test.js | ||
notifications.test.js | ||
oembed.test.js | ||
pages.test.js | ||
posts.test.js | ||
roles.test.js | ||
settings.test.js | ||
slugs.test.js | ||
snippets.test.js | ||
tags.test.js | ||
themes.test.js | ||
users.test.js | ||
utils.js | ||
webhooks.test.js |