Where an image comes from decides whether you can use it on a B2B site at all. Before you upload anything, answer three questions. Can you prove the licence? Is the file big enough? Can you replace it in three months? Last week I sent a new site's home page to a European buyer. He sent back a screenshot and asked whether that image was on another supplier's site too. It was. Same stock library, same photo, same crop.
That afternoon went into tracing the source of 14 images across the site.
In one line: a usable image has a traceable licence, a size that fits its slot, a kept original, and a swap that touches one field.

What counts as a usable image
"Looks fine" is not a criterion. These four are.
One: commercial use is allowed, and you can point to the licence. That means the original page, the licence name, and the download date. A screenshot is not a source. A browser bookmark is not a source.
Two: the size fits the slot. A hero image needs a long edge of at least 1600 px. A product card needs 800. Keep each file under 300 KB after compression (illustrative target), or the first screen loads slowly.
Three: you still have the original. For photos, the untouched file. For generated images, the prompt, model and seed. After three rounds of edits, no original means no way back.
Four: swapping an image touches one field. If a swap requires editing a template, a stylesheet and three HTML files, the process will break the first time someone is in a hurry.
Four routes and what they cost
| Source | Cost per image | Time to get it | Licence risk | Duplicate risk | Control |
|---|---|---|---|---|---|
| Search and save | 0 | 5 min | High, source usually gone | High | Low |
| Free stock | 0, account needed | 10 min | Medium, depends on licence | Medium to high | Low |
| Paid stock | Tens to hundreds | 20 min | Low, paperwork included | Low | Medium |
| Local generation | Electricity and GPU | 10 s to 70 s | Low, model licence still applies | Low | High |
Those times are per image and exclude the time spent deciding. Twenty minutes to find one that fits is normal.
Search and save: the expensive part is not the image
The problem is not resolution. It is that the chain back to the author is broken.
By the time an image reaches you it has been re-uploaded several times. The original page is gone, the licence is unknown, and all you have is a file named something like IMG_2043.jpg.
If someone complains, the fix is to take the image down, replace it, and wait for the page to be crawled again. Whatever indexing progress you had resets. That costs more than a licensed image.
There is a quieter loss too. The buyer recognises the photo. The same stock shot sits on a competitor's home page, or in an industry publication. He will not complain. He will just trust you a little less.
Use this route only for images you shot yourself, or images where you can open the original licence page.
Free stock: the licence covers less than you think
Free stock licences usually allow commercial use without attribution. They do not clear the people and objects inside the frame.
A recognisable face needs a model release. A brand logo, a shopfront, a distinctive building needs a property release. The library does not obtain those for you.
My rule now: no faces, no logos, no licence plates, no door numbers, unless there is a separate release.
Do not use free stock for the hero image. Popular free photos are the most reused, so duplicate risk peaks exactly where first impressions are formed. Product page thumbnails are a different matter, since they are small and carry less weight.
Local generation: the wait is mostly cold start
Numbers from a local run: 512×512 takes 10.5 seconds once the model is warm. The first 1024×1024 render took 69 seconds, most of it loading the model. Sampling is four steps, so repeat renders are quick.
One request returns one or two images. Sizes run from 512 to 1536, aligned to 64 px. The prompt is capped at 400 characters.
That fits card images, product scenes and blog headers. It does not fit a full-width hero. A 512 image stretched to 1600 px is visibly soft.
I made that mistake on the first pass. The image looked fine on my laptop and turned mushy on a phone. I regenerated at 1024 and cropped, which was enough.
The trade is control for time. You can specify composition, tone and background. You also wait, and a wasted render still costs the better part of a minute.
Do not use generated images where buyers inspect detail. They zoom in on connectors, material texture, weld seams. That has to be photographed.
How images enter the build
Three rules kept image work from turning into rework.
Assign a role, not a filename. Every image carries hero, product, gallery or story. The build decides placement from the role. The filename can be anything; the role cannot be wrong.
Change only the image field. The build finds the image key in the page config, rewrites that line, and leaves the body and every other field byte-for-byte intact. Rolling back means rolling back one line.
With no media, the output is byte-identical. This is the most useful rule. Same input, same output, so you can diff two builds and see a single extra space.
Upload limits worth knowing in advance (illustrative; confirm against your provider's current docs):
- 8 MB per file, 4 files per request, 16 MB total
- PNG, JPG and WebP only, checked by file signature, not extension
- SVG and HTML rejected, so scripts cannot ride in through an image slot
- Content-hash filenames, so the same image stored twice is stored once
- No remote URL fetching; the service will not download from someone else's site
That last one is a deliberate limit, not a missing feature. Where the image came from is your responsibility.
Five checks before upload
- Measure the long edge. Hero 1600 px and up, product cards 800 and up
- Compress. WebP first, under 300 KB per file
- Record the source. Original page, licence name, download date, in one table
- Inspect the content. Face, logo, plate, door number, any one means replace it
- Run the build and check the diff is only the image line
Step three is the one people skip. Six months later, proving the licence from a chat history does not work.
Three traps
Treating free download as free commercial use. The button is free; the licence is a separate document. Some sites allow personal use only.
Using one image in two slots. Hero and product card share a file, the crops differ, and the second crop cuts the subject in half. One image per slot, or at least two prepared crops.
Editing the generated HTML. It looks fixed until the next build overwrites it. Edit the source, never the output.
Three numbers that tell you the line works
- Time to swap a hero image, in minutes. Over ten means the process is broken
- Share of images with a recorded source. Target is 100 percent
- Diff lines for an image swap. Should be one
The first number is the honest one. It includes finding, editing, building and checking, so it cannot be faked.
FAQ
Can I use AI-generated images commercially?
Depends on the model licence. Most open models allow commercial output but put content responsibility on you. If the image contains a recognisable brand, a public figure or a protected character, it is still unusable. Read the licence itself, not a summary of it.
How large should a hero image be?
Long edge between 1600 and 2000 px, under 300 KB compressed. Larger slows the first screen; smaller looks soft on a 2K display. Generate at 1024 and upscale rather than starting from 512.
Are free stock images safe to use?
Yes, if three things hold: the licence allows commercial use, the frame has no faces or trademarks, and the image is not overused. Avoid free stock for the hero, use it for blog and product thumbnails.
Product photos: camera or generation?
Camera for the main product image, generation for scenes. Buyers zoom in on details, connectors, material, finish. Generated images cannot supply that. Mood shots and blog headers are cheaper to generate.
Do images slow the site down?
Yes. A 4 MB hero can add several seconds to the first screen. Compress to under 300 KB, serve WebP, size the file to the slot, and images stop being the bottleneck.
Last updated: 2026-11-10