Media settings and rules

This page covers every setting, rule, limit, permission, and Content Studio task for a single Media. If you're new to Media, start with Media, which explains what a Media is and the flow from uploading one photo to delivering it to visitors along with a product.

The examples use the tumbler product photo of the same online clothing store as in Getting Started. The Media "Stainless Tumbler 500ml Front Shot" holds the photo file tumbler.png (900 × 900 pixels, 49.7 KiB) and is linked in the main photo field of the product "Stainless Tumbler 500ml".

Settings

A single Media holds three things: Title, Description, and File. Unlike Content, a Media has no template (Content Type) to follow, so every Media has the same three settings. All three are held separately for each Locale (language) (Title, description, and file for each language).

When you upload a new one, you set these three on the "Create Media" screen. After uploading, click Edit at the top right of the detail screen to change them.

The Create Media screen. At the top are the Editor and Tags tabs, and the Translation area has an en-US default chip and a language dropdown set to None. Below that, each marked en-US, are the Title field (up to 256 characters), the Description field (up to 5,120 characters), and the File field, in that order. The File field shows the prompt "Drag and drop a file to upload." and a Browse Files button. The right panel has General and Info tabs, and the Status area shows Draft

SettingDescriptionDefaultConstraints
TitleThe name that identifies this MediaEmptyUp to 256 characters. You enter it separately for each language
DescriptionA description of the fileEmptyUp to 5,120 characters. You enter it separately for each language
FileThe file this Media holdsNoneOne file per language. A single file can't be larger than your plan's limit (Limits)
TagA label you attach on the Tags tab. You use it to narrow the scope of a role, or to filter the Media list with the tags condition (Rules for finding items in the Media list)NoneHow many you can attach and the steps for attaching them are in Tag rules

You can create a Media with Title and Description left empty.

Title and description

Title serves as this Media's name. This title appears in the Title column of the Media list, in the Select Media window, at the top of the detail screen, and on the item linked in a product's main photo field. The file name (tumbler.png) alone makes it hard to tell which photo it is, so enter a title that shows what's in the photo, such as "Stainless Tumbler 500ml Front Shot". If you leave Title empty, "Untitled" appears in italics in the list, the Select Media window, and at the top of the detail screen. When you upload a file, the Title field is prefilled with the file name, so delete that name to leave it empty.

In Description, enter text that describes the photo, such as "Front product shot of the tumbler on a white background."

Inside both fields, on the right, you see the number of characters entered so far and the maximum you can enter (for example, 20 / 256).

Once published, Title and Description are delivered publicly along with the file. Only enter content that's fine for visitors to see.

File

You upload one file in the File field. Drag the file into the field, or click the Browse Files button and select a file on your computer. For the largest size you can upload as a single file, see Limits. Depending on your plan, the maximum size per file is shown below the File field. A larger file isn't added to the field and isn't uploaded.

The Create Media screen of a Space on the Free plan, right after an attempt to add a 110 MiB video to the File field. Inside the ko-KR File field are the prompt to drag and drop a file to upload and the Browse Files button, with "Up to 100 MiB per file" in gray below. Below the field, red text shows tumbler-keep-warm-4k.mp4 (110 MiB) and that it exceeds 100 MiB and wasn't added, and a notification at the bottom right of the screen shows the file name and says it exceeds 100 MiB. The File field is empty

The file keeps the name it had when you uploaded it. After uploading, you can't change the file name by itself. To rename it, rename the file on your computer, then upload that file again to replace the file (Replace the file).

When you upload a file, the system processes it. During processing, it reads the file's format (for example, image/png) and size, and also records the width and height in pixels for an image, or the width, height, and duration for a video. This information appears in the list and on the detail screen (What the screens show), and it's used to check the file conditions set on a link field (Reference rules).

When processing finishes, the file gets a file address, and the Media becomes Published without you clicking Publish. For the rules and exceptions for processing and automatic publishing, see Media publishes itself once processing finishes.

Files you can upload

There's no limit on the kinds of files you can upload. While processing a file, the system decides its kind by looking at the file's contents, not the extension in its name, and sorts it into one or more of the kinds below. The kind appears in the Type column of the list and is used to check the file-kind condition on a link field.

KindFiles it includes
ImagePhoto and picture files such as PNG, JPEG, GIF, WebP, and SVG
VideoVideo files such as MP4, MOV, and WebM
AudioSound files such as MP3, WAV, and AAC
PDFPDF documents
DocumentWord-processor documents, such as Word files
PresentationPresentation files, such as PowerPoint files
SpreadsheetSpreadsheet files, such as Excel files
ArchiveCompressed files, such as ZIP files
TextFiles that contain only text
CodeProgram code files. Files that contain only text fall under both Text and Code
MarkupHTML and XML files
Other filesFiles that don't fall into any of the kinds above

In the list's Type column, these kinds appear as Image, Video, Audio, PDF, Document, Presentation, Spreadsheet, Archive, Text, Code, and Markup, and other files appear as File.

Title, description, and file for each language

For the rules on holding Title, Description, and File separately for each language, and on which value is delivered publicly for each language, see Media holds a separate file for each language.

The first chip in the Translation area, at the top of the creation and detail screens, shows the default Locale with a default label. On the editing screen, when you select another Locale in the dropdown next to it, that language's fields appear as well. The steps for uploading a file for each language on this screen are in Upload a different file for each language.

Files uploaded for each language are processed separately, and each language gets its own file address (File address).

What the screens show

The detail screen shows what this Media holds, along with the information recorded during processing.

The detail screen of the Media Stainless Tumbler 500ml Front Shot. At the top are the title and the Edit and Delete buttons, and below them are the Editor and Tags tabs. The Editor tab shows the Translation area (en-US default) and the en-US Title, Description, and File. The File field has a download icon at the top right, a preview of the tumbler photo, and the file name tumbler.png, followed by Type image/png, Size 49.7 KiB, Dimensions 900 × 900, a URL shortened with an ellipsis in the middle, and a copy icon at its right end. The right panel has General, Comments, and Info tabs. In the General tab, the Status area shows Current, Last saved now, and PUBLISHED, and the Links area shows the message "No other Content links to this Media."

PartWhat appears
TopTitle and the Edit and Delete buttons
Editor tabThe Translation area and the Title, Description, and File for each language
File info under FileA preview and the file name, Type (file format, for example image/png), Size (file size, for example 49.7 KiB), Dimensions (width × height in pixels, for example 900 × 900), and URL (file address). A download icon is at the top right, and a copy icon is to the right of URL
Tags tabThe Tags attached to this Media
General tab on the rightThe Status area (current status and when it was last saved) and the Links area (Content that links this Media)
Comments tab on the rightComments left on this Media. The steps for leaving one are in Comment on a photo
Info tab on the rightThe Media area (ID and Version), the Changes area (Created at, Created by, Updated at, Updated by), and the Publishing area (Time, Version, Published by, First published). A copy icon is to the right of ID

The Info tab in the right panel of the Media detail screen. The Media area shows the ID (with a copy icon) and Version, the Changes area shows Created at, Created by, Updated at, and Updated by, and the Publishing area shows Time, Version, Published by, and First published

For a video, the duration is also recorded during processing and appears in Duration in the file info.

The file info of a video Media. Below a preview with a play button are the file name tumbler-keep-warm.mp4, Type video/mp4, Size 73.9 KiB, Dimensions 1920 x 1080 px, Duration 0, and URL, with a download icon at the top right

The Media list shows each Media as one row. The columns below appear at first, and you can add, remove, or reorder columns with the Column Settings button.

One row of the Media list. The columns are Title, Type, Dimensions, Size, Updated at, Updated by, and Status, and the Stainless Tumbler 500ml Front Shot row shows a tumbler thumbnail, Image, 900 x 900 px, 49.7 KiB, the update time, weegloo snow (Me), and Published

ColumnWhat it shows
(no column title)File preview. In Column Settings, it appears as Preview
TitleTitle
TypeFile kind (for example, Image)
DimensionsImage width × height in pixels (for example, 900 x 900 px)
SizeFile size (for example, 49.7 KiB)
Updated at, Updated byWhen it was last updated, and who updated it
StatusCurrent status (for example, Published)

The columns you can add in Column Settings are ID, Created at, Created by, Tags, Published at, First Published at, and MIME Groups. The ID column shows each Media's unique ID. The list's Type, Dimensions, and Size are the values of the file held in the default Locale. For a Media with no file in the default Locale, the preview shows an empty file icon and Type, Dimensions, and Size show "-", even if another language has a file. Title also shows "Untitled" if there's no value in the default Locale. The Size column in the list shows the same value as Size in the file info on the detail screen (the file size).

Rules

Published Media is delivered publicly even if it isn't linked

A Published Media is delivered publicly even if it isn't linked to any Content. A site can read the Media directly from public delivery and receive its title, description, and file address. Linking it in a product's main photo field is one of several ways to use a photo.

What's delivered publicly in each status is summarized in How each action changes the status. The request format for reading Media from public delivery is in the API reference.

How long a file can be opened from its address

A file address is the internet address that opens the file, and it appears in URL in the file info on the detail screen. Each language gets its own address, and replacing the file with a new one creates a new address. To get a resized image by adding a style name to the end of the address, see Image processing.

Anyone who knows the address can open and download the file without logging in, because opening a file from its address doesn't check permissions. An address is exposed to visitors as soon as it's used publicly, such as on your site's product page, so once an address is known, it's hard to take back every copy of it. Don't upload files that must not become public, such as a copy of an ID card.

Whether a file opens from its address depends on what you've done to the Media, as follows:

What you didWhether the file opens from its address
Edited only Title or Description and savedThe address stays the same, and the file keeps opening
UnpublishThe file the Media currently holds keeps opening. The Media drops out of public delivery, but that file's address isn't blocked. However, if you replaced or removed a file and that change hasn't been published yet, the last published file is deleted and no longer opens (When you edit and save)
Replaced the file with a new one and savedThe new file gets a new address. The old file is deleted, so the old address no longer opens it. When it's deleted depends on whether that file was published (When you edit and save)
DeletedThe uploaded files are deleted too, so they no longer open (Deletion rules)

Even in the cases above where the address stops opening the file, it can take a while before the file is actually blocked. The file of a Media you've archived (Archive) doesn't open from its address while it's archived, and it opens again when you Unarchive the Media.

When you edit and save

When an edited and saved Media is published again is covered in Media publishes itself once processing finishes. When you replace or remove a file, also keep the following in mind:

  • The old file is deleted. When it's deleted depends not on the Media's status but on whether that file was published and being delivered publicly. A file that was being delivered is deleted when the change is published or when you Unpublish. Any other file is deleted when you save. So even for a Changed Media, if you replace a file that was never published, that file is deleted when you save.
  • A deleted file can't be recovered. Keep a copy on your computer of any file you might use again.
  • On the Free, Basic, and Pro plans, storage is checked first when you save after replacing a file or adding a file for a new language. Your Organization's Media storage grows by the new file's size minus the size of the old file that's deleted on save. If the result goes over your plan's allowance, the save is rejected. A file that was being delivered publicly isn't deleted on save, so its size isn't subtracted. When a save is rejected, the Media stays exactly as it was before you saved. A save that doesn't increase storage still works even if you're already over your storage allowance.
  • You can also remove the file of only one language and save. A removed file is deleted at the same point as a replaced old file, and after that it no longer opens from its address.
  • If you remove every file and save, the Media isn't published until you upload a file again. If it was published, it stays Changed, and the last published file keeps being delivered publicly. To take it down publicly as well, Unpublish it. That also deletes the last published file, so it no longer opens from its address either.
  • When a replaced file reaches the products that link this Media is covered in What to know when linking to Content.

What to know when linking to Content

  • When changes to a Media are published, they're delivered to every Content that links this Media. If you linked the tumbler photo both as the main photo of the product "Stainless Tumbler 500ml" and to the Summer Sale banner, the changes reach both. You don't need to relink or republish the product (Linked items come along in public delivery).
  • The file conditions set on a link field (Accept only specified Media types, Accept only specified file size, and Accept only specified image dimensions) apply to the field you link to, not to the Media. So the same photo can pass or fail the check depending on which field you link it to. The conditions you can set are in Settings only Media fields have, and when they're checked is in What's checked on save and on publish.
  • When you replace the file of a linked Media, the products that link that photo aren't checked again at that point. If you replaced it with a file that doesn't meet the conditions, those products are blocked the next time they're published. If you edit such a product in Content Studio, "The file type is not allowed for this Field." appears below the link field, and both saving and publishing are blocked even if you change only other fields. If you save it from a program, the save goes through and publishing is blocked. Products that are already published stay in public delivery as they are.
  • A Media that isn't Published isn't delivered along with the product (Unpublished items don't come along).
  • For what happens when you delete a Media that other Content links to, see When you delete a linked item.

Rules for finding items in the Media list

The Media list has the same search box, Add Filter button, Views button, and Column Settings button as the Content list. The settings you choose in the list and the rules for Views are the same as in the Content list, and they're covered in Settings in the list, What a View saves, My Views and Shared Views, and View favorites. Here's how the Media list differs:

Search terms are matched against the title

The search term is compared with the Media's Title. It's compared with the Title in every language, the same way as in the Content list (What a search in the list covers). You can find "Stainless Tumbler 500ml Front Shot" with Tumbler or Front. The search term doesn't look at Description or the file name. To search by those, use the description and fileName conditions below.

Filter conditions only the Media list has

A Media has no Content Type or Fields to follow, so there's no Content Type condition and no Field value condition. System filters such as status, locale, times, creator, id, and tags are the same as in the Content list (Filters in the list), and these conditions are added:

ConditionValue you choose
mimeGroupOne file kind. Choose from File, Text, Image, Audio, Video, Document, Presentation, Spreadsheet, PDF, Archive, Code, and Markup (Files you can upload)
width, heightThe width or height of an image in pixels. Filter by an exact value, a range, or greater or less than (>, ≥, <, ≤)
sizeThe file size written as a number of bytes. Filter by an exact value, a range, or greater or less than
title, descriptionThe beginning of Title or Description (prefix match)
fileNameThe full original name of the uploaded file. Write it exactly, including the extension, as in tumbler.png

These conditions are evaluated against the file, Title, and Description held in the default Locale. A file held only in Korean (ko-KR), or a Korean Title, can't be found with these conditions.

Views included from the start

The Media list comes with the Views below from the start. Of these, only the four Views in the Status folder are in your favorites from the start.

ScopeFolderView
SharedDefaultAll
SharedStatusDraft, Changed, Published, Archived
SharedFile TypeAttachment, Plaintext, Image, Audio, Video, RichText, Presentation, Spreadsheet, PdfDocument, Archive, Code, Markup
My ViewsDefaultCreated by me, Updated by me

The File Type folder has one View for each file kind. Four of them are named differently from the list's Type column: Attachment shows the files listed as File, Plaintext those listed as Text, RichText those listed as Document, and PdfDocument those listed as PDF (Files you can upload).

The Shared Views tab of the Manage Views window. The Default folder has All, the Status folder has Draft, Changed, Published, and Archived, and the File Type folder has Attachment, Plaintext, Image, Audio, Video, RichText, Presentation, Spreadsheet, PdfDocument, Archive, Code, and Markup. The favorite star is on for the four Status Views, and the Add new folder button is at the top right

Limits

ItemLimit
Size of a single fileVaries by plan. Check "Maximum upload size per file" in Pricing
Storage for all uploaded filesVaries by plan. Check "Media storage" in the same table
Volume of files delivered to visitorsCounts toward your plan's monthly data transfer. Check "CDN bandwidth" and "Origin bandwidth" in the same table
Number of MediaVaries by plan. Check "Media" in the same table
Files per language1
Length of the Title field256 characters
Length of the Description field5,120 characters
Tags attached to one MediaSee Limits in the Tag rules
Length of View name and Folder name, and the number of Views in favoritesSame as in the Content list. See Limits in the Content authoring rules

Plan limits apply per Organization, and every Space in that Organization shares them. What happens when you go over a limit, and how the limit is lifted again, differ by plan and item. See What happens when you go over a limit.

Required permissions

The permissions a role (SpaceRole) needs differ for each Media task. Actions appear on the role screen under the same names as in the table below. For what each action means and how to create a role, see Role and permission rules.

What you want to doPermission needed in your role
View the Media list and detail screensRead on Media. Media you can't read doesn't appear in the list
Upload a new MediaCreate
Edit Title or Description, replace a file, upload per-language files, attach or remove TagsEdit
Publish, Unpublish, Archive, UnarchiveThe permission with the same name as the action. Details are in Status and version rules
DeleteDelete. Details are in Deletion rules
Leave Comments on the Comments tabSee Required permissions in the Comment rules
Open a file from its addressNone needed
Have a site read Media from public deliveryRead on the role bound to the Delivery Access Token (read-only key) the site uses
Create and delete Views and folders in the Media list, rename a ViewNone needed. Same as the Content list (Required permissions in the Content authoring rules)
  • You can narrow permissions on Media by creator and Tag. For example, if you narrow Edit to items a member created, that member can edit only the photos they uploaded. The fields you can narrow on each tab, and how to narrow them, are in Role and permission rules.
  • Even a role without the Publish permission can change the content of a Media that's delivered publicly, with Create or Edit alone. That's because a Media publishes itself once file processing finishes (Status and version rules).
  • Opening a file from its address checks neither roles nor tokens. Even if the role bound to your site's Delivery Access Token can't read Media, an address that's already known still opens the file. How to bind a role is covered in Token rules.

Tasks in Content Studio

The basic steps for uploading one photo are in Upload a single file. For the steps to link the uploaded photo as a product's main photo, see Link a main photo to a product. The steps for holding a different file for each language, such as a photo with Korean text on it, are in Upload a different file for each language.

The steps for finding photos with search terms and filters in the Media list are in Find photos and files in the Media list. Renaming, deleting, and favoriting Views work the same as in the Content list. See Rename a View, Delete Views and folders, and Add a View to your favorites.

Upload a single file

These steps upload one tumbler photo file from your computer (tumbler.png) as the Media "Stainless Tumbler 500ml Front Shot".

  1. Open the Media list screen.
  2. Click the Create button at the top right of the list.
  3. In the menu that opens, select Single Media.

Clicking the Create button at the top right of the Media list opens a menu with two items, Single Media and Multiple Media. Below it are the list's refresh and gear icons and the Size, Updated at, and Updated by columns

To upload several photos at once, select Multiple Media instead of Single Media. The steps are in Upload several files at once.

The "Create Media" screen opens. Along with the area for uploading a file, this screen has the Title and Description fields. What the screen looks like, what to enter in the two fields, and their length limits are in Settings.

  1. Click the Browse Files button in the file area and select the tumbler photo (tumbler.png) on your computer. You can also drag the photo file into the dotted area.
  2. In the Title field, delete the prefilled file name and enter Stainless Tumbler 500ml Front Shot.
  3. In the Description field, enter Front product shot of the tumbler on a white background.

The Create Media screen with the file, title, and description all filled in. The Status area on the right shows Draft

  1. Click the Create button at the top right.

When you click Create, the photo is uploaded and the system processes the file. The steps for checking whether processing has finished are in Check the processing status. For the information shown in the list and on the detail screen, see What the screens show.

The steps for linking the uploaded photo as a product's main photo are in Link a main photo to a product.

Upload several files at once

These steps upload the tumbler's side photo tumbler-side.png and lid photo tumbler-lid.png at once.

  1. Open the Media list screen.
  2. Click the Create button at the top right of the list.
  3. In the menu that opens, select Multiple Media. You can see what the menu looks like in Upload a single file.
  4. In the "Selected Files" window that opens, click the Upload More button and select tumbler-side.png and tumbler-lid.png.
  5. When each selected file appears on its own line, click the Upload button.

The Selected Files window. tumbler-side.png (97.3 KiB) and tumbler-lid.png (46.4 KiB) appear on their own lines with previews, and each line has an X icon to remove it. Below are an area with the Upload More button, 2 file(s) selected, and the Cancel and Upload buttons

The Media list after uploading. Two rows titled with their file names, tumbler-side.png and tumbler-lid.png, have been added at the top, with the Stainless Tumbler 500ml Front Shot row below them

One Media is created for each file, and its Title is set to the file name.

Check the processing status

These steps check whether processing has finished for the tumbler photo you uploaded a moment ago.

  1. Open the Media list screen.
  2. Check the Status column in the "Stainless Tumbler 500ml Front Shot" row.

If the Status column shows Published, processing has finished and the photo is being delivered publicly. When you open the Media, you can also see the same status in the Status area of the General tab on the right.

If it's still Draft, processing either hasn't finished yet or has failed. How long processing takes varies by file, and a large video takes longer than a photo. For why a Media doesn't become Published and what to do, see the table in Status and version rules.

Replace the file

You've taken a new tumbler photo. These steps replace the file of the Media "Stainless Tumbler 500ml Front Shot" with tumbler-v2.png.

  1. In the Media list, open "Stainless Tumbler 500ml Front Shot".
  2. Click Edit at the top right.
  3. Click the trash can icon at the top right of the File field to remove the current file (tumbler.png). A field with a saved file has the Replace file, download, and remove (trash can) icons, and clicking the Replace file icon lets you pick a new file right away without removing the old one first.
  4. Click the Browse Files button and select tumbler-v2.png.
  5. Click the Save button at the top right.

The edit screen of the Media Stainless Tumbler 500ml Front Shot. The List, Cancel, and Save buttons are at the top right, and the Replace file and trash can icons are at the top right of the en-US File field. The field holds the newly chosen tumbler-v2.png, and Reset appears next to the file label

A field that holds only a newly chosen file has two icons, Replace file and remove (trash can).

The detail screen after saving. The file name in the file info has changed to tumbler-v2.png, and the end of the URL shows …/en-US/3/tumbler-v2.png

When you save, the new file is processed, and once processing finishes the Media becomes Published again (Media publishes itself once processing finishes). When the old file is deleted is covered in When you edit and save. The new file gets a new address, so if you wrote the old address directly into your site, change it to the new address (How long a file can be opened from its address).

Upload a different file for each language

These steps add tumbler-ko.png, a tumbler photo with Korean text on it, as the Korean (ko-KR) file of the Media "Stainless Tumbler 500ml Front Shot". English (en-US) already holds tumbler.png. To select Korean, the Space must have a Korean Locale. The steps for adding a language are in Add a Locale.

  1. In the Media list, open "Stainless Tumbler 500ml Front Shot".
  2. Click Edit at the top right.
  3. In the Translation area, select "Korean (South Korea) (ko-KR)" from the dropdown. A ko-KR field appears under Title as well.
  4. The ko-KR field of File appears separately below the en-US field. In the empty field, click the Browse Files button and select tumbler-ko.png. When you upload the file, the ko-KR Title field is filled with the file name.
  5. To add a Korean title too, delete the file name filled in the ko-KR Title field and enter 스테인리스 텀블러 500ml 정면 컷.

The Translation area of the Media editing screen. Korean (South Korea) (ko-KR) is selected in the dropdown next to the en-US default chip. Below, under Title, the en-US field has Stainless Tumbler 500ml Front Shot and the ko-KR field has 스테인리스 텀블러 500ml 정면 컷

  1. Click the Save button at the top right.

The Media edit screen with Korean (South Korea) (ko-KR) selected in the Translation dropdown. Title, Description, and File are each split into an en-US field and a ko-KR field. The en-US File field holds tumbler.png, the ko-KR field holds the newly uploaded file, and the Save button is at the top right

When you save, the ko-KR file is processed, and once processing finishes the Media becomes Published again (Media publishes itself once processing finishes). The ko-KR file gets an address different from the en-US file's. The steps for copying that address are in Copy the address of another language's file.

For which file is delivered publicly for each language, see Media holds a separate file for each language. If you set file conditions on the main photo field of a product that links this photo, the ko-KR file must meet those conditions too (Settings only Media fields have).

Edit the title and description

These steps add a line about the lid to the description of the Media "Stainless Tumbler 500ml Front Shot".

  1. In the Media list, open "Stainless Tumbler 500ml Front Shot".
  2. Click Edit at the top right.
  3. Change the Description field to Front product shot of the tumbler on a white background. The lid is closed.
  4. Click the Save button at the top right.

When the edited description is delivered publicly is covered in Media publishes itself once processing finishes. To edit the title and description in another language, select that language in the Translation area dropdown on the editing screen, then edit them the same way.

Copy the file address or download the file

These steps copy the file address of the tumbler photo.

  1. In the Media list, open "Stainless Tumbler 500ml Front Shot".
  2. In the file info under File, click the copy icon to the right of URL.

URL shows the address with its middle shortened to an ellipsis (…), so don't type the address out by hand. Copy it with the copy icon instead. Clicking the copy icon copies the full, unshortened address, and "Copied" briefly appears above the icon. Clicking the address text copies it too. Clicking the download icon at the top right of the file info opens the file in a new tab. For a file the browser displays, such as an image, save it to your computer from that tab.

The steps for copying the address of another language's file are in Copy the address of another language's file.

Delete a file uploaded by mistake after removing its links

Say you uploaded a photo of an order sheet with a customer's address on it, order-sheet-0815.jpg, as the Media "August 15 Order Sheet" by mistake. These steps delete this Media. Deleting it deletes the uploaded file too (How long a file can be opened from its address).

  1. In the Media list, open "August 15 Order Sheet".
  2. Check the Links area on the General tab on the right. If it shows Content that links this Media, first do the two things below for each of those Content. If you leave them as they are, the photo spot on your site looks empty, and after you delete this Media, that Content can't be published.
  3. In the Status area of "August 15 Order Sheet", click the status badge and select Unpublish.
  4. Click Delete at the top right.

Deleting can't be undone (Deletion rules). After you delete it, it can take a while before the file stops opening from its address.

Troubleshooting

For cases where a Media doesn't become Published or can't be edited or deleted, see the table in Status and version rules. For cases where a linked photo looks empty on public delivery or a link field blocks publishing, see the table in Reference rules.

ProblemCauseWhat to do
A file won't uploadThe file is larger than your plan's limit for a single fileMake the file smaller and upload it again, or switch to a higher plan. The limits are in Pricing
You can't upload new filesOn the Free, Basic, or Pro plan, your Organization has used up its Media storageCheck how to lift the limit in Pricing
Saving after replacing a file is rejectedOn the Free, Basic, or Pro plan, replacing the file with the new one would put your Organization's Media storage over your plan's allowance (When you edit and save)Replace it with a smaller file, delete Media you don't use to free up space, or upgrade your plan (When you exceed transfer volume or storage space)
You can't create a new MediaYour Organization has reached the number of Media it can createDelete Media you don't use to make room, or switch to a higher plan (When you exceed a count limit)
None of the uploaded files reach visitorsOn the Free, Basic, or Pro plan, your Organization's CDN bandwidth or Origin bandwidth for this month went over the allowanceCheck how to lift the limit in Pricing
The file still opens from its address after you unpublishedUnpublish doesn't block the address of the file the Media currently holds (How long a file can be opened from its address)If you won't use the file again, delete it (Delete a file uploaded by mistake after removing its links)
After you replace a file, the old address doesn't open itReplacing a file creates a new address, and the old file is deleted (When you edit and save)Copy the new address from URL on the detail screen and use that
You want to use the old file againThe old file was deleted and can't be recoveredIf the file is still on your computer, upload it again to replace the file
A Media you unarchived doesn't appear on your siteUnarchive makes it Draft, and Draft isn't delivered publiclyPublish it
You can't rename the fileThe file name is set by the name of the file you uploadedUpload a renamed file to replace the file
You removed the file and saved, but the old file is still delivered publiclyA Media with no files isn't published, so what you last published stays publicUpload a new file. To take it down publicly, Unpublish it. Unpublish also deletes the last published file, so its address stops opening it
The Title you want to enter is longer than 256 charactersThe Title field's character counter goes up to 256 characters (for example, 20 / 256). You can keep typing, but the character counter turns red, and when you save, "Up to 256 characters allowed." appears below the field and the Media isn't saved.Shorten the title and put the details in Description. The Description field's character counter goes up to 5,120 characters
You searched for text in the file name or Description, but the Media doesn't appearThe search term is compared only with the beginnings of words in TitleSearch with the beginning of a word in the title, or use the fileName or description condition (Rules for finding items in the Media list)
The photo is empty on the Korean version of your siteNo file was uploaded for Korean, and either Korean has no Fallback Locale or the languages along the way have no file eitherUpload a Korean file (Upload a different file for each language), or set a Fallback Locale for Korean (Set a Fallback Locale). The order in which files are looked up is in Media holds a separate file for each language
  • Media: Covers what a Media is and the flow from uploading one photo to delivering it to visitors along with a product.
  • Image processing: Covers how to add a style name to the end of a file address to get a photo at the size you want.
  • Locale settings and rules: Covers the rules for holding a different file for each language, and what's delivered when a language with no file is requested.
  • Reference rules: Covers the steps for linking a photo as a product's main photo, the file conditions on fields that link a Media, and the rules for delivering a linked photo along with a product.
  • Status and version rules: Covers the rule that a Media publishes itself after processing, and the actions that change status.
  • Deletion rules: Covers when a Media can be deleted and what's deleted along with it.
  • API reference: Covers the technical specifications, such as request formats, that you need to upload files and create a Media from a program.