// Guide · Media Organizer

How to organise the WooCommerce media library with folders

A WooCommerce store uploads a featured image, a gallery and a photo per variation for every product, and WordPress keeps all of it in one flat list sorted by date. This guide shows how to add folders that follow you into every picker, attach images by SKU, and clean up without risk.

Updated 30 November 20267 min readBy the ProCom plugin team

Why the WooCommerce media library gets out of hand

WordPress stores every upload in one flat list, sorted by date. That is fine for a blog with a photo per post. A WooCommerce store uploads a featured image, a gallery and a picture per variation for every product, plus category thumbnails, downloadable files, banners and page-builder assets. A catalogue of five hundred products easily passes ten thousand files, and the only way to find one is to remember its file name or the month it was uploaded.

The cost shows up in small ways all day. A shop manager opens the product image picker and scrolls past three months of banners to find the right photo. A supplier sends a new batch of images and nobody knows which products already have one. Old photos from a discontinued range stay on the server forever because deleting anything feels dangerous, and sometimes it is: WordPress will delete a file that a page is still using without a warning.

Three things fix it: folders that follow you into every picker, a way to attach images to products without opening each product, and a clean-up that cannot break the storefront. This guide covers all three.

Folders that do not move your files

The first rule of organising a live store's media is that nothing on the storefront may change. Product pages, emails, Google Shopping feeds and marketplace listings all point at image URLs, and a plugin that physically moves files into subdirectories breaks every one of those links. Look for virtual folders: the folder is a label stored in the database, the file stays exactly where it was uploaded, and the URL never changes.

The second rule is that a folder is only useful if it appears where you pick images. A folder tree that exists on the Media Library screen but not in the product image picker, the gallery picker, the variation picker or the category thumbnail picker saves no clicks at all, because those pickers are where the time goes.

With Media Organizer for WooCommerce, ProCom's extension approved for the WooCommerce Marketplace, the Folders panel sits on the left of Media → Library in both grid and list view, and the same tree appears in every media picker WooCommerce and WordPress open. Folders are virtual, a file is in one folder or in "Uncategorised", and the number next to each folder counts the files directly inside it.

  1. Build the tree

    Click New, type a name, press Enter. Right-click a folder for a subfolder, rename, reorder or delete. The keyboard works throughout: arrows move and expand, F2 renames, Delete removes a folder (never its files). Mirror the way your team thinks about the catalogue, which is usually by product category, not by month.

  2. Move what you have

    Drag files onto a folder, or Bulk select in grid view and use the Move to bar. In list view the Bulk actions menu has Move to folder. Every move is logged in Activity and can be undone as a batch.

  3. Upload into the open folder

    Open a folder before you upload and the new files land in it. That one habit keeps a library tidy after the initial clean-up.

  4. Or let categories do it

    Category Sync mirrors product categories, brands or tags as folders and files each product's images, including variation images and galleries, into the folder of its category. It respects Yoast SEO and Rank Math primary categories, never moves a file you placed by hand, and shows a full preview before anything moves. Run it once, or let it keep up automatically as products change category.

Attaching images to products by SKU

Folders solve finding. They do not solve the afternoon spent opening two hundred products to set their images. For that, let the file name carry the product. If a photo is called MUG-102.jpg and a product has the SKU MUG-102, a tool can connect the two without anyone opening the product.

File nameBecomes
MUG-102.jpgFeatured image of the product with SKU MUG-102
MUG-102-main.jpgFeatured image (wins over a plain MUG-102.jpg if both exist)
MUG-102-1.jpg, MUG-102-2.jpgGallery images 1 and 2, in number order
MUG-102-front.jpg, -back, -side, -altGallery images, in that order
TEE-200-RED.jpgThe image of the variation whose SKU is TEE-200-RED

SKU Match in Media Organizer reads these names for a folder, for Uncategorised files or for the whole library. It shows a preview first, with a status per row: Match, Ambiguous, Duplicate SKU, Role conflict, Already assigned, No product or Skipped. Only clean matches are ticked by default. Choose Append to keep the images a product already has, or Replace gallery to make the gallery exactly the matched files. Apply runs in the background, running it again changes nothing, and the whole apply can be undone from Activity because the previous images were saved first.

The same screen drives the Product Image Audit, which lists products with no featured image, an empty gallery (or one whose files were deleted) and variations without their own image, and fixes them with SKU Match in one click or exports the list as CSV.

Cleaning up without breaking anything

Unused files cost backup space and hosting money, and they make every picker slower to scroll. The danger is that "unused" is hard to know. A file that is not a product image may still be the site logo, a block in a landing page, an Elementor background or a WooCommerce placeholder, and WordPress offers no warning when you delete it.

A safe scanner has three properties. It checks every place a file can be referenced, it tells you why each file is on the list, and it cannot delete permanently. Media Organizer's Unused Media Scanner checks eight sources: featured and variation images, product galleries including variation galleries, downloadable files, category thumbnails, post content and blocks, custom fields and page-builder data (ACF, Elementor, WPBakery, Divi, Beaver Builder, SiteOrigin), site and theme settings, and widgets. Results land in three tabs:

TabMeaningWhat you can do
No references detectedNo source found the fileMove to a folder, or Move to Trash in bulk
Possibly usedFound only in custom fields, builder data, settings or widgetsMove to a folder; trash one file at a time after reading the reason
ReferencedIn useShown for reference only

Before anything goes to the Trash, every file is checked again, and files that became referenced since the scan are skipped. Trashed files can be restored from Media → Trash or with Undo. If the site has no media Trash, which is the WordPress default, the plugin moves candidates to a "Trash candidates" folder instead and says so. To turn the Trash on, add one line to wp-config.php:

define( 'MEDIA_TRASH', true );

Habits that keep a library tidy

  • Agree a file-naming rule with suppliers. SKU plus a role suffix is enough. Files named that way assign themselves on arrival.
  • Make the folder tree match categories. Category Sync will keep product images filed for you; hand-placed files are left alone.
  • Run the audit after every import. Products with no featured image are the ones that do not sell, and the audit finds them in seconds.
  • Scan quarterly, trash slowly. Bulk-trash only the "no references" tab; read the reason before touching anything "possibly used".
  • Keep the Activity log. Every move, apply, sync and trash is recorded with who did it and the previous state, so a mistake on Friday is a one-click undo on Monday.

None of this needs a storefront change or a developer. The library stays where it is, the URLs stay the same, and the people who pick images every day stop scrolling.

// Next step

Do this with Media Organizer

Folders in the Media Library and every picker, SKU-based image assignment, category folders, an image audit and a safe unused-media scanner. Sold on the official WooCommerce Marketplace with a 30-day money-back guarantee, updates and support from the ProCom engineers who build it.