Skip to content

Upload media

Media are the images and files you use in entries. This page explains how to upload media and use them in an entry’s image and file fields.

Anyone who knows the URL can view uploaded media. No login or API key is needed. This is the same even if the entry is still a draft. Do not upload files that must not be shown to others.

  • To upload, you need the [メディアのアップロードと変更](Upload and change media) permission in the space. Among the built-in roles, [オーナー](Owner), [管理者](Admin), and [編集者](Editor) have it. [閲覧者](Viewer) can only view
  • To delete, you need the [メディアの削除](Delete media) permission. Among the built-in roles, [オーナー], [管理者], and [編集者] have it

To upload media, do the following.

  1. In the left menu of the admin, click [メディア](Media).
  2. Click [ファイルを選ぶ](Choose files) and choose files. You can also upload by dragging files onto the “ここにファイルを落とすとアップロードします” (Drop files here to upload) box.

When the upload finishes, the media appears at the top of the list below. If you choose several files at once, they are uploaded one at a time in order.

  • Any file format is accepted. JPEG, PNG, GIF, WebP, and AVIF are handled as images, and their width and height are read. Everything else is handled as a file
  • AVIF images cannot be transformed when delivered. Even if you add transformation parameters, the original image is returned
  • There is a size limit for a single file. The limit is in Usage limits. If a file exceeds the limit, a message like “<ファイル名>: file is too large (max <上限> MB)” (: file is too large (max MB)) is shown
  • Uploading a file with the same name again creates separate media each time
  • After uploading, you cannot change the file name or contents. To change them, upload a new file

Alt text is text used when an image cannot be displayed or when a screen reader reads the screen. Tags are used to find media.

  1. On the [メディア](Media) screen, click a media tile. The media details screen opens.
  2. In [代替テキスト](Alt text), enter text that describes the image (for example, “新しい店舗の外観”). Up to 1,000 characters.
  3. (Optional) In [タグ](Tags), enter tags separated by commas (for example, “トップ, 2026”).
  4. Click [保存](Save).

“保存しました” (Saved) is shown.

Each tag can be up to 50 characters, and one media item can have up to 20 tags.

In an entry’s [画像](Image) or [ファイル](File) field, you choose uploaded media to put in.

  1. On the entry’s edit screen, click [ライブラリから選ぶ](Choose from library) on the [画像] or [ファイル] field. The “メディアを選ぶ” (Choose media) dialog opens.
  2. Click the tile of the media you want to use.

The URL of the chosen media is put into the field. In an [画像] field, the alt text you added to the media is also put in. You can change the alt text per entry in that field.

  • You can also upload files inside the “メディアを選ぶ” dialog. If you upload only one file, that media is selected right away
  • When opened from an [画像] field, only images appear in the list
  • For a [複数画像](Multiple images) field, add a slot with [+ 追加](+ Add), then click [ライブラリから選ぶ]
  • In the body of a [リッチエディタ](Rich editor), clicking the [画像](Image) or [ファイル](File) button in the toolbar opens the same dialog

To remove the chosen media, click [外す](Remove) on the field.

You can get images at different sizes or formats by adding a query to the URL. How to use this on your site is in Transform images (size, format).

You can filter media with the fields at the top of the [メディア](Media) screen.

  • [ファイル名で検索](Search by file name): Search by part of the file name. Case-insensitive
  • [タグ](Tags): Narrow to media with that tag
  • [種類](Type): Choose from [すべて](All), [画像](Images), and [ファイル](Files)

The list is newest first. To show more, click [さらに表示](Show more).

On the media details screen, click [コピー](Copy) next to [URL] to copy the media URL. The URL has the following form.

https://<media host>/media/<media ID>/<file name>

The media host can differ from the admin’s address. Do not build the URL yourself; use the copied URL as is. The contents at the same URL never change. They are cached for a long time by browsers and CDNs.

The URL of deleted media stops working immediately. This cannot be undone.

  1. On the [メディア](Media) screen, click the tile of the media you want to delete.
  2. In the [使用箇所](Usage) table, check that no entry uses it.
  3. Click [削除](Delete).
  4. On the confirmation screen, click [削除] again.

You return to the list screen. The deleted media disappears from the list.

Media used by an entry cannot be deleted. [削除] cannot be clicked, and “エントリーから使われているので削除できません。使用箇所から外してください” (It cannot be deleted because entries use it. Remove it from where it is used) is shown. In the [使用箇所] table, look at [エントリー](Entry) for the entries that use it, [リビジョン](Revision) (draft or published), and [位置](Location) (which field), remove the media from those entries, and then delete it.

On the media details screen, copy [URL] and open it in a new browser tab (in a window where you are not logged in). If the image is displayed or the file downloads, the upload worked.