Skip to Content
StarsellDocs
Content and files

Content and files

The store's file library - uploading, file types and size limits, folders, files shared across stores, alt text, where a file is used, replacing a file everywhere, and how files are stored.

What it is

Content and files in the store's sidebar opens Files: the library of images, videos and PDFs your store uses. Product photos, theme sections, the store logo, collection images and email images are all picked from here.

You need the files permission to upload, edit or delete files; staff have it by default. Anyone who can open the store can pick files in the other screens' pickers.

Store files and shared files

Every file belongs to one of two places:

Who sees it
This storeOnly this store: its Files page and its pickers.
Shared with all storesEvery store of the organization lists it, on its Files page and in its pickers.

The left column lists the folders in both, under the store's name and under Shared with all stores, with the file count of each. The bottom of the column gives the totals: how many files and how much space for the store and for the shared files.

Move a file between the two with Share with all stores or Keep in (store name) only in its details. A shared file that other stores use can't be made store-only: "Other stores show this file in N places. Remove it there first." See Core concepts for organizations and stores.

Upload

Upload files uploads into the folder you're in (into Uploads while you're searching). You can also drop files from your computer onto the grid, or onto a folder in the left column to upload straight into it. Up to three files upload at a time, each with a progress bar; a file that's refused shows why on its tile.

ImagesPNG, JPG, WebP, GIF, SVG, AVIF
VideoMP4, WebM
DocumentsPDF
SizeUp to 15 MB a file

A bigger file is refused before it uploads, with "Up to 15 MB a file" on its tile.

The browser reads each image's size and each video's length as it uploads, and the server counts a PDF's pages, so the details can show "2400 x 1600" or "0:14" without opening the file.

Photos uploaded from a product's Media card land in this store's Products folder. See Media.

Folders

  • New folder asks for a Name (up to 60 characters) and Who sees the folder: this store, or every store.
  • The ⋯ next to a folder has Rename and Remove folder. Renaming keeps every file's link; only the folder name changes. Remove folder only works on an empty folder: move or delete its files first. Removing a folder never deletes files.
  • Uploads is the store's default folder. It can't be renamed or removed.

Move files by dragging them onto a folder in the left column, or by picking several and using Move to a folder.

Find files

  • Search all files searches names and alt text in every folder, the store's and the shared ones, as you type.
  • Type: All types, Images, Videos, PDFs.
  • Used or unused: Used somewhere or Not used anywhere. See Where a file is used.
  • Sort: Newest first, Oldest first, Name, A to Z, Largest first.

The folder you're in is kept in the address bar. More files load as you scroll.

File details

Click a file to see it on the right. Shift-click picks a range, Cmd-click (Ctrl-click on Windows) adds or removes one, Cmd+A (Ctrl+A) picks every file shown, and Esc goes back to one.

For one file:

  • A preview. Click it to open the file in a new tab.
  • Badges: store or shared, the size, length or page count, and the folder.
  • Alt text for images and videos: what the picture shows, for people who can't see it. Up to 500 characters, saved when you click away. Write alt text has Starsell AI look at the image and write it in the store's main language. It works on JPG, PNG, WebP and GIF images up to 5 MB, and is greyed out when Starsell AI isn't set up on the platform.
  • Where it is shown: see below.
  • Replace, Copy link, Share with all stores / Keep in (store name) only, and Delete.

Where alt text is used

Alt text is saved on the file, searchable here, and read by Starsell AI. The storefront puts it on the image wherever the file is shown: product photos, collection images and theme sections. A product photo or collection image without alt text uses the product's or collection's title instead; a theme section's image without it is left out for screen readers.

For several files: Move to a folder, Share with all stores, Keep in (store name) only, Clear selection, and Delete. Delete only removes the unused ones (Delete the 3 unused) and says how many stay because they're in use. Files that can't move are skipped with the reason.

Where a file is used

Where it is shown lists every place a file appears, across all stores of the organization, with the store's tile:

  • Product: the product photos it's in.
  • Collection: the collection it's the image of.
  • Theme sections: the page and section, for example "Home page, Hero", and Theme settings. "(draft only)" means only the unpublished theme uses it.
  • Store logo.
  • Email, Email layout and Block library: the email templates, layouts and saved email blocks it's an image in (an image block or a background image), by name.

While a file is used anywhere on that list, it can't be deleted: "Used in N places. Remove it from them first, or replace it everywhere at once."

Replace a file

Replace uploads new bytes for a file everywhere it's used, in one go. The new file has to be the same kind: an image for an image, a video for a video, a PDF for a PDF.

What happens:

  • The new file gets a new link (file links are cached for a year, so the old link can't simply show new content).
  • Every product photo, collection image, theme section (published and draft), store logo, email template, email layout, saved email block, email still waiting to be sent and past order line that pointed at the old file points at the new one, in every store of the organization.
  • The new file keeps the old one's folder, store or shared place, and alt text, and takes the new file's name.
  • The old file is deleted. Links to it that you copied elsewhere stop working, and so do images in emails that were already sent: they point at the old link.

Copy link copies the file's public address, /api/files/<id> on the admin's address. Anyone with the link can open the file without signing in, so don't upload anything private. Links are long random ids and can't be guessed, but they can be shared. Browsers and CDNs keep a file for a year.

Files are stored in Cloudflare R2 when the platform has it set up, otherwise on the API server's disk. Deleting a file removes it from storage too, and can't be undone.

On this page