Edit and remove media files

You can change a media file’s name or remove it from the media library.

This section includes the following topics:

Rename media files

You can rename a file in the media library. If the file is an image assigned to a product or collection, renaming it breaks the connection to the product or collection. Once you save the new name, however, the service checks the name and if the name is formatted correctly, automatically assigns the image. See Automatically assign images to products and collections for more information.

To rename a media file:

  1. On the Media page, find the file you want to rename and click.
  2. Enter a new name in the Name box.

    Do not use the same name as an existing file in the same folder.

  3. Click Save.

Remove media files

When you remove a file from the media library, you cannot access it again with the Commerce tools. If you remove the primary image for a product or collection, the next image assigned to it becomes the primary image. If you remove all images from a product, a placeholder is displayed on your store.

To remove a file from the media library:

  1. On the Media page, navigate to the files you want to remove.
  2. Hover over a file and click the X icon when it appears.

    To remove multiple files, hover over a file and click the check mark icon when it appears. (To remove all the files on the current page, click Select All.) Repeat this for all the files you want to remove and then click the X icon on any of them.

  3. Confirm that you want to remove the selected files.