Removing unused image files - debut theme

Topic summary

Users are seeking ways to identify and delete unused image files in their Shopify stores to clean up their media libraries.

Initial Solutions:

  • Early suggestions involved inspecting images on the frontend to compare file paths and manually identifying which files are in use.
  • As of 2024, Shopify added a “Referenced” column in Content > Files that shows a dash for unreferenced images.

Critical Limitation Identified:
The “Referenced” column only accurately tracks images used in product pages. Images used in blogs, other pages, or the live theme still show as unreferenced (dash), creating a risk of accidentally deleting images that are actually in use on the storefront.

Remaining Challenges:

  • No bulk selection or filtering option exists for unreferenced images, making it impractical for stores with thousands of files.
  • No reliable app or automated solution has been identified for comprehensive unused image detection across all theme locations.

The discussion remains open with users still seeking a safe, efficient method for bulk cleanup that accounts for all image usage contexts.

Summarized with AI on October 27. AI used: claude-sonnet-4-5-20250929.

yes but where is the delete button to delete the unused image? i know which image but i dont know how to delete all other unused images.

thanks, am

1 Like