...
See the new Filestack Workflows 2.0 in action with our sales engineer. Book a Walkthrough
We are aware of the recently disclosed PHP2Shell vulnerabilities (CVE-2026-109618 and CVE-2026-109619) and can confirm Filestack is not impacted by these vulnerabilities.

Marketplace Photo Enhancement, Applied in the URL

Marketplace photo enhancement with Filestack corrects dim seller photos, enlarges small ones and serves every storefront size from one upload.

Saltmarket, a fictional marketplace built on FilestackOpen
The Saltmarket demo home page: Good furniture deserves a second photograph, over a photo of a secondhand furniture hall.
One listing card, rescued
https://cdn.filestackcontent.com/enhance=preset:fix_dark/upscale/resize=width:400,height:300,fit:crop/output=format:webp/HANDLE
Use case

Saltmarket is a fictional company. It was made up to show how Filestack works in online marketplaces and e-commerce, so the firm, its people and its figures are invented.

Live Filestack API

What powers it is real. Every upload, enhance, upscale and storefront resize in Saltmarket is a real call to the Filestack API.

View source on GitHub

What Is Marketplace Photo Enhancement?

Marketplace photo enhancement fixes seller photos that are too dark, color-cast or small for the catalog, so a listing goes live with the photo the seller already has. With Filestack the fix is a URL: enhance corrects the color, upscale doubles the size, and resize and output serve every storefront size from one stored handle.

Two Ways to Handle a Small, Dim Seller Photo

Enforce a minimum

  1. Upload The seller's photo
  2. Size rule Checked against the minimum
  3. Reshoot Requested from the seller

Fix it in the URL

  1. Upload Stored once, as a handle
  2. enhance, upscale Color fixed, size doubled
  3. Storefront Every size from one handle
Tasks
enhance, upscale, resize and output
Presets
auto, fix_dark, fix_tint, vivid and outdoor in the demo
Upscale
Twice the width and height by default, with a noise option for grainy photos
Sizes
A 200 by 200 tile, a 400 by 300 card and a 1200-wide full view, all WebP
Delivery
Each chain renders on first request and is served from the CDN cache after that
Request path
The browser builds every URL; enhance and upscale answer a plain CDN URL
Plans
Enhance and upscale on paid plans. Pricing
Demo source
Saltmarket, a Next.js app. View on GitHub

One URL Corrects, Enlarges and Sizes the Photo

To fix a seller photo with Filestack, chain enhance, upscale, resize and output in the photo’s CDN URL. Tasks run left to right, and a new storefront size is one more entry in a list.

  1. cdn.filestackcontent.comThe Filestack CDN
  2. enhance=preset:fix_darkLifts a photo shot indoors in dim light
  3. upscaleDoubles the width and height
  4. resize=width:400,height:300,fit:cropThe listing card size
  5. output=format:webpEncoded once, last
  6. HANDLEThe seller's original
Enhance first
The correction runs on the full-resolution original, with every pixel to work with.
Upscale when small
Doubling rescues any photo at half the catalog minimum or larger: 500 pixels for a 1000-pixel rule.
Resize, then output
The format conversion encodes the final pixels once, at the size the page shows.
storefront.js
const MIN_WIDTH = 1000;
const rescue = (preset, width) =>
  [`enhance=preset:${preset}`, ...(width < MIN_WIDTH ? ['upscale'] : [])];

const SIZES = {
  tile: ['resize=width:200,height:200,fit:crop', 'output=format:webp'],
  card: ['resize=width:400,height:300,fit:crop', 'output=format:webp'],
  full: ['resize=width:1200,fit:max', 'output=format:webp'],
};

const photoUrl = (handle, preset, width, size) =>
  ['https://cdn.filestackcontent.com', ...rescue(preset, width), ...SIZES[size], handle].join('/');

Inside Saltmarket, a Marketplace Built on Filestack

Saltmarket is a demo secondhand furniture marketplace built on Filestack and Next.js. The firm is invented and every file call is real: a seller uploads the photo they have, compares presets, enlarges it and sees the listing at every size.


  1. File Picker uploads the photo straight to Filestack. The handle is the only thing the app keeps; every version the shop shows is a URL built from it.


  2. Saltmarket labels each enhance preset by the photo it fixes, so a seller picks "Shot indoors" over a parameter name. Original and corrected sit side by side, each with its URL.


  3. upscale with default settings doubles the width and height. The app reads the original's size with imagesize and adds upscale only below the catalog minimum; noise:low smooths low-light grain.


  4. The search tile, the listing card and the full view are three URLs from one handle. align:faces frames a crop on the person holding or wearing the item.

list-item.js
const client = filestack.init('YOUR_API_KEY');

client.picker({
  accept: ['image/*'],
  maxFiles: 1,
  onUploadDone: ({ filesUploaded }) => startListing(filesUploaded[0].handle),
}).open();
presets.js
const PRESETS = [
  { value: 'auto',     label: 'Auto',     when: 'Let Filestack decide' },
  { value: 'fix_dark', label: 'Fix dark', when: 'Shot indoors in dim light' },
  { value: 'fix_tint', label: 'Fix tint', when: 'Yellow or blue color cast' },
  { value: 'vivid',    label: 'Vivid',    when: 'Flat, washed-out product shot' },
  { value: 'outdoor',  label: 'Outdoor',  when: 'Hazy daylight photo' },
];

const corrected = cdn(handle, [`enhance=preset:${preset}`]);
upscale.js
const { width } = await fetch(
  `https://cdn.filestackcontent.com/imagesize/${handle}`
).then((r) => r.json());

const enlarge = width < 1000 ? ['upscale=noise:low'] : [];
sizes.js
const base = [`enhance=preset:${preset}`, ...enlarge];

const tile = cdn(handle, [...base, 'resize=width:200,height:200,fit:crop,align:faces', 'output=format:webp']);
const card = cdn(handle, [...base, 'resize=width:400,height:300,fit:crop', 'output=format:webp']);
const full = cdn(handle, [...base, 'resize=width:1200,fit:max', 'output=format:webp']);

What Rescuing Seller Photos Takes In-House

Rescuing seller photos in-house takes a color-correction step, a super-resolution model on a GPU, a resize service for every surface, storage for derived files and a cache in front. Filestack runs the same steps as tasks in the photo’s URL.

Build an Image Pipeline

6 parts your team builds and runs
01 Exposure and color correction
02 A super-resolution model on a GPU
03 A resize worker for every storefront size
04 WebP encoding
05 Storage for every derived file
06 A CDN and cache rules in front

Write One URL Per Size

1 URL per size, built in the browser and cached at the edge
Full view
https://cdn.filestackcontent.com/enhance=preset:auto/upscale/resize=width:1200,fit:max/output=format:webp/HANDLE

Changing a size means editing the path.

Tour the Saltmarket Storefront

The Saltmarket storefront is built from stored handles, and its listing page shows each rescue step with its URL.

  1. 1

    The storefront /

    Every tile in Just listed is a cropped WebP of a stored handle, at the size the grid needs.

  2. 2

    List an item /demo

    Upload a dim or undersized photo and compare the original with each preset, side by side.

  3. 3

    Enlarge and size it

    Turn on upscale, then see the same handle as a search tile, a listing card and a full view.

  4. 4

    Copy any URL

    Every version carries its URL and a copy button, ready to paste into your own markup.

Open Saltmarket in your browser and follow the route, or read the Next.js code it runs.

Saltmarket storefront
Saltmarket's Just listed grid of six furniture listings with prices, each photo a cropped version of a stored image.
Saltmarket's Just listed grid. Every tile is a resize and WebP conversion of a stored handle.

Run Photo Enhancement at Marketplace Scale

At marketplace scale, every distinct task chain is a separate render and a separate cache entry. Store each listing’s handle and preset, build URLs at render time, and keep the preset and size list short.

  • Store the handle and the preset

    Build URLs at render time, so a new size or preset is a code change.

  • Upscale below the minimum

    Check the original's width with imagesize and enlarge only the photos that need it.

  • Keep the matrix small

    Five presets across three sizes is fifteen cached variants per photo. Choose the preset once, at listing time.

  • Frame tiles with align

    align:faces keeps a person in frame; top, left and the others set the crop for objects.

  • Screen seller uploads

    virus_detection in a Workflow checks every file at upload.

  • Lock the key down

    Security policies allow your origins, accept image/* and set a size cap.

listing.js
// Saved with the listing: the handle and the choices.
const listing = { handle: 'HANDLE', preset: 'fix_dark', width: 520 };

const rescue = [
  `enhance=preset:${listing.preset}`,
  ...(listing.width < 1000 ? ['upscale'] : []),
];

export const photoUrl = (size) =>
  cdn(listing.handle, [...rescue, ...SIZES[size]]);

Ways to Handle Seller Photos Compared

Filestack corrects and enlarges a seller photo in its URL and serves every size from the CDN. A minimum-size rule sends the photo back, and an in-house pipeline fixes it on your own workers.

A minimum-size rule In-house image pipeline Filestack URL tasks
A dim 500-pixel photo Returned to the seller for a new one Corrected and enlarged by your workers Corrected and doubled in the URL
Infrastructure A validation rule Color correction, a GPU model, resize workers, storage and a cache The Filestack CDN
A new storefront size A new upload requirement A new derived file for every photo One more entry in the size list
Where URLs are built Your upload endpoint Your workers and storage The browser
Time to production An afternoon A model, a worker pool and a cache Most teams ship their first upload within minutes

A minimum-size rule suits a catalog where every seller shoots to one studio standard.

Image Enhancement Beyond Marketplaces

The same URL tasks restore old catalogs, clean up profile photos, brighten property listings and store a rescued copy at upload.

A low-resolution legacy catalog

Bring older product images up to today's display sizes.

  • upscale

Profile photos

Correct a phone selfie and crop it around the face.

  • enhance
  • align:faces

Property and travel listings

Clear the haze from daylight exterior shots.

  • enhance=preset:outdoor

Product shots with a color cast

Neutralize yellow indoor light before the photo reaches the catalog.

  • enhance=preset:fix_tint

Seller upload screening

Check every file a stranger uploads before buyers see it.

  • virus_detection

A rescued copy at upload

Run enhance and upscale once, then store the result as its own handle.

  • Workflows

List every item with the photo the seller already took.

  • Most teams ship their first upload within minutes
  • Trusted by 100,000+ applications
  • SOC 2 compliant

Marketplace Photo Enhancement FAQs

How do I improve seller photos on a marketplace?

Run each seller photo through color correction and upscaling before it reaches the storefront. With Filestack, enhance corrects color and exposure and upscale doubles the size, both as tasks in the photo’s CDN URL.

What does Filestack upscale do?

upscale with default settings returns the image at twice its width and height. The noise option reduces grain, which suits small phone photos taken in poor light.

Which enhance preset fits which photo?

fix_dark suits a photo shot indoors in dim light, fix_tint a yellow or blue cast, vivid a flat product shot and outdoor a hazy daylight photo. auto lets Filestack choose.

Does image enhancement need a server?

The browser can build the whole chain, because enhance and upscale answer a plain CDN URL. Security policies then limit the API key to your origins, to images and to a size cap.

How many versions of each photo does Filestack create?

Each distinct task chain renders once and is cached, so five presets across three sizes makes fifteen variants per photo. Choosing the preset at listing time keeps it to one chain per size.

Which plans include enhance and upscale?

Enhance and upscale run on paid plans, each with a free trial. Resize and format conversion run on every plan, including the free plan. See pricing.

Is Saltmarket a real company or a Filestack customer?

Saltmarket is a fictional company, created to show how Filestack works in online marketplaces and e-commerce. The firm, its people and its figures are invented, and the demo runs on the real Filestack API.

Can I see the code behind the Saltmarket demo?

Yes. Saltmarket is open source on GitHub in the filestack-use-cases repository, under apps/fs-marketplace. It is a Next.js app with the presets, the upscale step and the storefront sizes.