Members CMS
PHP 8.1+ & MySQL Buy license · $349.95
Media library

Uploading image and video sets in folders: a practical workflow

Turn each folder of photos and videos into one managed set. How to prepare folders, avoid duplicates, keep originals untouched and import big batches.

Updated 5 minute read The Members CMS team

Most photo shoots and video sessions already arrive as folders. You copy the card, sort the keepers into a folder, and that folder is, in effect, a finished set. Uploading it one file at a time throws that structure away and creates hours of re-grouping work later.

A folder-based workflow keeps that structure intact: one folder in, one managed set out. This guide covers how to prepare folders, what should happen to your files on the way in, and how to handle batches too large for a browser.

Why upload in folders?

A set is the natural unit for content that belongs together. Uploading folders as sets means:

  • Every file in the shoot stays together, with one title, one cover and one set of categories.
  • You can upload several shoots at once and still end up with tidy, separate sets.
  • Publishing, re-tagging or archiving a whole shoot is one action instead of dozens.
  • Mixed shoots work naturally - a folder with both photos and clips becomes one set with both.

Sets are also the foundation of a well-organised shared library. If you run several websites, our guide on organising one media library for several websites explains how sets, IDs and statuses fit together.

Preparing your folders

A few minutes of preparation saves a lot of tidying afterwards.

  1. One folder per set. Do not nest shoots inside each other. If a folder contains sub-folders of different shoots, split them first.
  2. Remove rejects. Delete blurred frames, test shots and duplicates before uploading, not after.
  3. Name files in the order you want them. Many systems sort by natural filename order, so 001.jpg, 002.jpg and so on keep the sequence predictable. Natural order also sorts img2 before img10.
  4. Put your best image first. The first image in filename order is a common default for the cover, so it is worth making it a good one.
  5. Know which formats browsers handle. JPG, PNG, WebP and GIF images and H.264 MP4 video play almost everywhere; other formats may need a converted copy for previews. See which video formats play in every browser.
  6. Give the folder a helpful name. It will usually be kept as a searchable reference even if the set is later retitled.

File names and safety

Camera and phone file names are usually fine. Names with unusual characters, spaces at the end or very long paths can cause trouble on some servers, so a good upload system sanitises unsafe names automatically. It should also check the real file type, not just the extension, so a renamed file cannot slip through pretending to be an image.

Keep originals untouched

Your original files are the master copies. They should be stored exactly as uploaded - never resized, recompressed or stripped. Every smaller version a website needs, such as thumbnails, gallery previews and video poster frames, should be generated as separate files.

This matters for a few reasons. Recompressing a JPG loses quality each time. A future site might need a larger preview than today's, and you can only make that from the original. And if a thumbnail goes wrong, you can simply regenerate it without touching the master.

Generating these versions takes time, especially for video, so it is best done by background jobs. You can carry on working while previews are built.

Avoiding duplicates and failed uploads

Large uploads are where things go wrong: a connection drops, the same folder is uploaded twice, or one file out of three hundred fails. A dependable upload process should give you:

  • Duplicate detection, so the same file is flagged rather than silently stored twice.
  • Per-file and overall progress, so you know what is actually happening.
  • Resumable uploads, so a dropped connection does not mean starting a large file again.
  • Retry for failed files, so you can re-send just the files that did not make it instead of the whole folder.

Big batches: import from the server

Browsers are fine for everyday uploads, but they are not ideal for tens of gigabytes of video. For big batches it is usually quicker and more reliable to copy the folders straight to the server, for example by SFTP, and then import them from there.

MethodBest forThings to watch
Drag and drop in the browserA few folders at a time, everyday workKeep the tab open until it finishes
Folder picker in the browserSelecting several folders without draggingSame as above
Server importVery large shoots and back cataloguesCopy into an approved location only

Server import should only read from approved locations, not anywhere on the server, so a mistyped path can never pull in system files.

After the upload

Once a folder is in, a little finishing work turns it into a proper set:

  • Check the cover image and change it if the first file is not the best one.
  • Reorder, add, replace or delete files as needed.
  • Write a title and a short description.
  • Add categories so the right websites can find it.
  • Move it from Draft to Ready or Published when it is finished.

How Members CMS handles this

In Members CMS you go to Media Library > Upload Folders and drag in several folders at once, or use the folder picker. Each folder becomes its own media set, stored under a stable ID with the original folder name kept for reference. Mixed folders keep both their images and videos. Images can be JPG, JPEG, PNG, WebP, GIF, AVIF, BMP, TIFF or HEIC, and videos MP4, MOV, WebM, M4V, MKV, AVI, WMV, MPG/MPEG, OGV or 3GP. Real file types are checked, file names are made safe, and a duplicate policy lets you skip files already in the set or anywhere in the library. Uploads are chunked and resumable, run in parallel, and show per-file and overall progress, with pause and retry for failed files.

Originals are kept as uploaded unless you choose to turn on image size reduction. Thumbnails, previews and video posters are created in the background, EXIF rotation is corrected, and with FFmpeg available, videos browsers cannot play get an MP4 preview copy. For large batches, Maintenance > Server Folder Import brings in folders already copied to an approved location by FTP or SFTP. New sets start as Draft, so nothing reaches a website until you are happy with it.

Frequently asked questions

Can one folder hold both images and videos?

Yes. A mixed folder becomes one set with both its images and its videos, which suits a shoot that produced photos and clips together.

What happens to my original files?

They should be stored exactly as uploaded. Thumbnails, previews and video posters are generated as separate files so the originals are never resized or recompressed.

What if a set is too large to upload through the browser?

Copy the folders to an approved location on the server, for example by SFTP, and import them from there instead of uploading through the browser.

Get three guides like this every month, plus software update notices.Subscribe →