This question usually arrives disguised as a taste debate, which is why it rarely resolves. Someone prefers the illustrated look, someone else finds it juvenile, and the decision gets made by whoever is more senior. But there is an actual functional difference underneath, and once you name it the choice mostly makes itself.
An illustration is a drawing of an idea. It can show things that have no appearance - a data pipeline, a permission model, three abstract benefits arranged around a circle. It can omit everything irrelevant, which is its superpower: no distracting background, no awkward hand position, nothing but the point.
A photograph is a record of a moment that occurred. Its power runs the opposite direction: it carries the irrelevant detail, and that surplus is what makes it feel true. The scuffed table leg and the half-drunk coffee are not the subject, but they are the evidence.
So the question is never which is prettier. It is whether the job at hand is explaining or convincing.
| Job | Use | Why |
|---|---|---|
| Explaining how a system works | Illustration | You can omit everything that is not the mechanism. A photo of servers explains nothing. |
| Establishing mood on a hero | Photography | Atmosphere needs surplus detail to feel real. Illustrated moods read as decoration. |
| Onboarding and empty states | Illustration | Small, functional, forgiving at tiny sizes, and cheap to keep consistent across dozens of screens. |
| Trust and credibility sections | Photography | Belief comes from evidence. Drawings of people cannot be evidence of people. |
| Abstract concepts with no referent | Illustration | Nobody can photograph "encryption." Attempts to do so are why padlock stock exists. |
| Premium or editorial positioning | Photography | Restraint and real light read as expensive. This is the single biggest lever on perceived quality. |
| Playful, consumer, high-energy brands | Either, decided once | Both can work here. What cannot work is switching between them page to page. |
Illustration has one advantage that is hard to beat: it is consistent by construction. A single illustrator working in a defined style will produce forty assets that unmistakably belong together, because the style lives in the hand that made them.
Photography does not get that for free. Consistency has to be imposed - one lighting setup, one palette, one point of view held across every frame - and most teams never impose it, which is why so many photo-led sites look worse than illustration-led ones despite starting with better raw material. If you cannot commit to a consistent photographic look, illustration is genuinely the safer choice. That is the honest version of this advice.
The way out, if you want photography, is to decide the look before you gather images and reject anything that misses it. We wrote up the method in full: how to get a consistent style out of AI image tools, and the planning half in how to build a shot list like an editor.
Illustration styles date in cohorts. When a look saturates - and every few years one does - everything wearing it gets timestamped at once, and the association sticks. Photography ages too, through lighting fashions and color grades, but it usually ages into "a period" rather than "a trend everyone did."
The second cost is credibility. Illustration signals that the thing being shown was authored rather than observed, which is fine for a diagram and quietly corrosive on a page asking someone to trust you with money or data.
Most real sites end up with both, and that is fine as long as each medium has a fixed job that never rotates:
Write that down somewhere the whole team can see. Nearly every incoherent site is incoherent because this rule existed in someone's head and not in a document.
Illustration for things with no physical form - processes, abstractions, what happens inside software. Photography when the viewer needs to believe something: real use, real world, a particular mood.
Not reliably, and it is the wrong question. Both span cheap to expensive. The real difference is that illustration is consistent by construction while photographic consistency has to be imposed deliberately.
Yes, with fixed roles: photography for atmosphere and human moments, illustration for diagrams and interface states. Never both in the same slot on different pages.
Styles saturate in cohorts, so everything using a look gets timestamped together. Photography usually ages into a period rather than a trend.
Photograph the world it lives in rather than the product - the desk, the light, the moment around the work. Atmosphere is photographable even when software is not.
If you land on photography, the hard part is consistency.
That is what a matched set is for - one look, held across every frame. Take three downloads free - pull them from one studio - or browse all 41.