A picture of a picture, written once and never again
The Second Photo Hidden Inside Your Photos
Most photographs taken before about 2022 contain two pictures, not one. There is the photograph, and there is a second, much smaller copy of it tucked into the file’s information block, written by the camera at the moment of capture and almost never written again afterwards. It is the picture a great deal of software shows you when it shows you a grid of your photos. And because it was written once and the photograph around it can change afterwards, the small copy and the large one do not always still agree.
The grid that disagrees with the photos
Here is the version of this most people have met. You crop a photograph, or straighten it, or take the red eye out. You save it. The photograph is right when you open it. But in the folder view, in the little grid of squares, the old version is still sitting there — uncropped, crooked, red-eyed — and it stays there.
The usual advice is to clear the system’s thumbnail cache, and often that works, because every major operating system keeps a cache of the small pictures it has drawn. But sometimes it does not work, and the reason it does not is that the stale small picture is not in a cache at all. It is inside the photograph.
This article is about that second picture: where it is, who writes it, how big it is, how much of a library it adds up to, whether it still matches the photograph around it, and what two large software companies decided to do about the fact that it might not. The measurements come from one ordinary family library of 82,707 photographs going back to 2000, read header-only, with counts as the only output.
Where the second picture is kept
When a camera writes a JPEG, it puts a block of information near the front of the file describing what it just did: the date, the exposure, the camera model, which way up the camera was held. That block is structured as a directory of numbered entries, and the convention is that the camera’s own facts go in the first directory.
A second directory can be appended after it. Formally it is for an alternative version of the same image, and in practice there is only ever one thing in it. ExifTool, the reference documentation that most other software is checked against, describes the entry at number 513 like this: it is “called JPEGInterchangeFormat in the specification, this is ThumbnailOffset in IFD1 of JPEG and some TIFF-based images”. Entry 514 is its length. Between them they say: starting this many bytes into the file, and running for this many bytes, there is another JPEG.
Three consequences follow from that design, and all three matter.
It is a real image, not a summary. It has its own compression, its own dimensions and its own idea of what the picture looks like. Software can draw it without ever touching the photograph.
It is written once. Nothing in the arrangement obliges anything that edits the photograph to go back and rewrite the thumbnail. Well-behaved editors do. Not everything that can change a JPEG is a well-behaved editor.
It is inside the same block as the date. The second directory is part of the camera information, which is also where the capture date lives. Anything that strips the one to make a file smaller takes the other with it.
Why a camera ever did this
It is easy to read this as waste, and in 2026 a lot of it is. In 2002 it was not remotely waste.
Consider what a computer of that era had to do to show you a folder of forty photographs. Each one was a two- or three-megapixel JPEG. To draw a 160×120 icon it had to read the whole file off a slow disk, decode every pixel of it, scale the result down by a factor of about thirteen and throw away everything it had just computed. Forty times. A camera, by contrast, already had the full image sitting in memory at the moment it pressed it into a JPEG, so making a small copy at the same time was close to no cost at all.
So the camera did the expensive part once, at capture, and every program afterwards got a picture of the photograph for the price of reading a few kilobytes. It is a good piece of engineering and it shows in the figures: of the photographs in this library dated 2002 to 2007, every single one has a thumbnail inside it. 98 out of 98 from 2002. 392 out of 392 from 2004. 437 out of 437 from 2005.
82,707 photographs, counted
We read the header of every JPEG in one family library — 82,707 files, 80.2 GB, earliest 2000 — and recorded whether a second directory pointed at an embedded image, and if so how big it was in bytes and in pixels. Nothing was decoded at this stage and nothing was written. The totals:
| Measurement | Result |
|---|---|
| Photographs carrying an embedded thumbnail | 52,704 of 82,707 (63.7%) |
| Total space the thumbnails occupy | 677.6 MB |
| Share of the whole 80.2 GB library | 0.8% |
| Average thumbnail | 13,481 bytes |
| Largest single thumbnail | 65,072 bytes |
| Total picture held in them | 2,884 megapixels |
| Distinct thumbnail sizes in use | 121 |
| Thumbnails a different shape from their photograph | 11,831 |
677.6 MB is not a crisis. It is a little over three quarters of one percent of the library, about the size of 680 average photographs from the same collection, and anybody who removed all of it would gain less space than deleting one long video. The number worth sitting with is the last one but one: 2,884 megapixels. That is as much picture as 240 twelve-megapixel photographs, carried around inside other photographs, and not one of those pixels has ever been looked at on purpose.
And then the last line. 11,831 photographs contain a thumbnail that is not even the same shape as the photograph it is inside — a widescreen picture with a squarish thumbnail, or the reverse. That is not a question of quality or age. A small copy of a picture is the same proportions as the picture. If it is not, it is either a picture of something else or a picture of an earlier version of this one.
121 different answers to one question
There is a single, simple question here — how big should the small copy be? — and this library contains 121 different answers to it. Twenty-one of those sizes appear exactly once in 52,704 files.
| Size in pixels | Photographs | Shape |
|---|---|---|
| 160 × 120 | 8,877 | Landscape, 4:3 |
| 320 × 240 | 8,031 | Landscape, 4:3 |
| 120 × 160 | 5,901 | Portrait, 3:4 |
| 512 × 288 | 5,366 | Landscape, 16:9 |
| 96 × 160 | 3,648 | Portrait, 3:5 |
| 160 × 96 | 3,386 | Landscape, 5:3 |
| 304 × 144 | 3,308 | Landscape, 19:9 |
| 256 × 144 | 1,632 | Landscape, 16:9 |
| 288 × 512 | 1,622 | Portrait, 9:16 |
| 80 × 160 | 1,331 | Portrait, 1:2 |
Microsoft’s developer documentation for the Windows thumbnail system describes the embedded thumbnail as “typically 96x96”. In 52,704 photographs here, 96×96 does not appear at all. That is not an error in the documentation; it is a fair summary of what that part of Windows was built to expect. It just happens that twenty years of cameras and phones did not converge on it, or on anything else.
Look down the shape column and the untidiness becomes concrete. 304×144 is nineteen units wide to nine tall. 80×160 is exactly half as wide as it is tall. 1:2 is not the shape of any sensor any phone has shipped with. These are the thumbnails that get stretched or squashed when something draws them at the photograph’s proportions, and they are a large part of the 11,831.
Is it actually a picture of the photograph?
This is the question the header cannot answer, and it is the one that matters. A thumbnail’s presence says nothing about whether it still resembles the photograph wrapped around it. So we decoded a sample and looked.
The method, stated plainly so the number can be argued with. Every fortieth photograph that had a thumbnail was opened. The thumbnail was decoded and reduced to a 32×32 grid of gray values. The photograph itself was decoded and reduced to the same 32×32 grid. The two grids were compared square by square and the average difference taken, out of 255. A thumbnail that is a current picture of its own photograph lands near zero. One left over from a previous version of the photograph lands high. We set the line at 24 — roughly a tenth of the full range — and said so before counting.
| Measurement | Result |
|---|---|
| Thumbnails sampled and successfully decoded | 1,318 of 1,318 |
| Typical difference from the photograph (median) | 2.16 out of 255 |
| Nine out of ten were no worse than | 4.37 out of 255 |
| Within the line of 24 — a current picture of the photo | 1,221 (92.6%) |
| Over the line — showing something else | 97 (7.4%) |
| Worst single thumbnail | 90.43 out of 255 |
Two findings, and they point in opposite directions, so both are worth stating properly.
The embedded thumbnail is usually trustworthy. A median of 2.16 out of 255 is a very close match — about what you would expect from compressing the same picture twice at different sizes. Nine in ten are under 4.37. The common fear that these things are routinely wrong is not what the sample shows.
And roughly one in thirteen is not a picture of its own photograph. 97 files out of 1,318. The worst scored 90.43, which at that scale means the two images have almost nothing in common; whatever that thumbnail is a picture of, it is not the photograph it is sitting inside. Scaled to the whole library, somewhere near four thousand photographs carry a small copy of something that is no longer there.
Two companies, two switches, same problem
If you want evidence that this is a real and known difficulty rather than a curiosity, look at what the two biggest desktop platforms built to handle it. Both of them shipped a switch, and the switches point in opposite directions.
Microsoft built a way to refuse it. The Windows Shell thumbnail interface takes a set of flags, and two of them are about this exact decision. One, which has been there since the beginning, means “If not cached, only extract the thumbnail if it is embedded in EXIF format, typically 96x96” — use the camera’s copy, do not do the expensive thing. The other was added in Windows 7 and means simply: “Do not extract a thumbnail embedded in the metadata of an EXIF image.” A third ignores the cache entirely and extracts from the source file. Those three flags, read together, are a company writing down the three positions you can take on whether to believe the picture inside the picture.
Apple built a way to insist. Its image-reading library has two options with telling names: one that creates a thumbnail from the full image if the file does not already contain one, and one that creates it from the full image always. Apple’s documentation gives the default for both as false. In other words, out of the box the library hands back whatever thumbnail the file contains, and a developer who wants a thumbnail guaranteed to be a picture of the current photograph has to ask for it explicitly — and the documentation warns that if you then forget to set a maximum size, you get one the size of the full image, “which in most cases is not desirable”.
So on one platform the safe behavior is opt-out and on the other it is opt-in, and a photograph moved between them can be previewed by two different rules on consecutive days. This is the same shape of problem as a photograph stored one way round and labeled another: the file is not wrong, the readers simply have different defaults.
The vanishing thumbnail
The year-by-year figures turn out to be the most interesting thing in the whole scan, and they describe something that has mostly happened quietly in the last four years.
| Year | Photographs | With a thumbnail | Share |
|---|---|---|---|
| 2004 | 392 | 392 | 100% |
| 2005 | 437 | 437 | 100% |
| 2011 | 523 | 444 | 84.9% |
| 2012 | 2,243 | 2,048 | 91.3% |
| 2014 | 2,026 | 1,765 | 87.1% |
| 2015 | 5,099 | 4,934 | 96.8% |
| 2016 | 3,963 | 3,950 | 99.7% |
| 2017 | 8,418 | 7,965 | 94.6% |
| 2018 | 6,928 | 5,157 | 74.4% |
| 2019 | 7,589 | 6,029 | 79.4% |
| 2020 | 7,578 | 6,323 | 83.4% |
| 2021 | 7,476 | 5,993 | 80.2% |
| 2022 | 6,331 | 3,019 | 47.7% |
| 2023 | 10,945 | 3,116 | 28.5% |
| 2024 | 5,691 | 664 | 11.7% |
| 2025 | 3,119 | 4 | 0.1% |
| 2026 (part year) | 1,782 | 288 | 16.2% |
Every year holding at least a hundred photographs is in that table, so that the shape is the library’s and not our selection. The years before 2011 are too small to list separately — 988 photographs between them — and 986 of those 988 carry a thumbnail.
From every photograph to almost none, in about four years. Four files out of 3,119 from 2025. The 2026 row is higher than the 2025 one and we cannot tell you why; the year is incomplete, and one part-year row is not a turning point, so it is printed as found rather than smoothed away.
We are not going to assert a single cause for the decline either, because this library cannot prove one. Several plausible explanations arrive at the same shape — phones whose capture pipelines changed, software that rewrote files on their way into the library, the general move toward containers where a preview is handled differently — and separating them would need the makers’ own answers, not ours. What the table does establish is the shape itself, measured rather than assumed, and the shape is a decline that is nearly complete.
One consequence is worth drawing out, because it is not obvious. The engineering problem the thumbnail solved has not gone away; it has moved. Something still has to produce the little squares in the grid, and now it is your computer doing it, every time, for every photograph, from the full-sized file. On a folder of 48-megapixel photographs that is real work, and it is the reason a folder of new photos can sit showing gray rectangles for several seconds while a folder of 2005 holiday photographs appears instantly.
The part specific to dates
This site is mostly concerned with what happens to the dates on photographs, and the embedded thumbnail touches that in three specific ways.
Stripping metadata to save space removes both. The thumbnail and the capture date live in the same block. Tools that offer to remove metadata, and upload paths that remove it for you, do not generally offer to remove one and keep the other. Reclaiming 677.6 MB that way would cost this library the capture date on every photograph in it — a very bad trade, and one that is easy to make by accident.
Rebuilding a thumbnail rewrites the file. Anything that regenerates the small copy has to write the photograph out again, and writing a file updates its modified date on disk. If a photo manager sorts by file date rather than by capture date, a batch of thumbnail repairs can move a decade of photographs to the top of the list in one pass. This is the same mechanism that catches people out after a bulk rotation.
A stale thumbnail is a clue, not just a nuisance. If the small copy inside a photograph shows an earlier version of it, something edited and re-saved that photograph after the camera wrote it. That is worth knowing when a date looks wrong, because the same event that left the thumbnail behind is the kind of event that moves file dates around.
Four things widely repeated that are wrong
“Clearing the thumbnail cache fixes stale previews.” It fixes the common case, because every desktop operating system does keep its own cache — Microsoft’s own flag list includes one meaning “only return the thumbnail if it is cached”, which only makes sense if there is a cache. But clearing a cache cannot change what is inside the file. If the stale picture is embedded, it survives the clear, survives a reboot, and survives being copied to a different computer.
“The thumbnail is just a shrunk copy, so it must match.” It was a shrunk copy on the day it was written. Our sample found 97 in 1,318 that are no longer a picture of their own photograph, and 11,831 photographs in the library whose thumbnail is not even the same shape as they are.
“Embedded thumbnails waste a lot of space.” In this library they come to 0.8% of 80.2 GB. They are genuinely not where your disk went. Anyone proposing to strip them for space is proposing a large risk for a very small return.
“Modern phones still do this.” Mostly they no longer do. Four of the 3,119 photographs in this library from 2025 have an embedded thumbnail. Advice written around the assumption that every photo contains one is now advice about your older photographs only.
What to do, in the order that helps
1. If a preview is stale, work out which stale it is. Copy the photograph to a different computer, or a memory stick plugged into one, and look at it there. A fresh machine has no cache for that file. If the old picture is still showing, it is inside the file; if the correct one appears, the problem was your own cache and clearing it will do.
2. Do not strip metadata to remove them. It takes the capture dates with it. If a photograph really does need its embedded thumbnail replaced, use an editor that rewrites the thumbnail as part of saving, which is nearly all of them, and let it keep the rest of the block.
3. Settle the dates before any bulk operation. Anything that rewrites thumbnails in a batch will also move file dates in a batch. Know which date your software sorts on first.
4. Treat a wrong thumbnail as evidence. It tells you that photograph has been edited and re-saved by something since the camera wrote it — which is useful context when its date, its orientation or its filename also look unlike its neighbors.
5. Leave them alone otherwise. They cost 0.8% of the library, they make old photographs appear instantly in a folder view, and the overwhelming majority of them are exactly what they claim to be.
Where this comes from
- ExifTool: the EXIF tag reference — the thumbnail tags, which is where the second photo lives.
- Library of Congress: Exif Exchangeable Image File Format, Version 2.2 — Exif as a format, independent of any one camera maker.
The information inside is the part you cannot replace
The picture survives almost anything; the block that knows when it was taken does not. PDR reads it while it is still there and writes it back when it is not.
Free Test Drive Buy NowHow we counted
The library is one family’s photographs: 82,707 JPEG files, 80.2 GB, filed in year folders from 2000 to 2026. It is not a sample of the world and we are not presenting it as one. It is one real collection, which is more than most figures about photographs are based on.
The header counts came from reading the first 192 KB of each file and walking the JPEG marker chain and the information directories by hand. Nothing was decoded for that pass and nothing was written. A photograph counts as having a thumbnail when the second directory carries both an offset and a length and the offset lands inside the information block. The shape test compares the thumbnail’s proportions with the photograph’s and counts a disagreement above 2%; it could only run where both sizes were readable from the header.
The matching figures are the only ones here that required opening a photograph, which is why they come from a sample rather than the whole library: every fortieth file with a thumbnail, 1,318 in all, every one of which decoded successfully. Both images were reduced to 32×32 greyscale and compared square by square. The line at 24 out of 255 was chosen before counting and is stated here rather than hidden, so that anybody who thinks it sits in the wrong place can say where they would put it and work out what that does to the count.
What this cannot tell you is which program left a thumbnail behind. We did not test any named application’s saving behavior, and nothing above should be read as a claim about one. The output of both passes is counts only — totals by size, by year and by whether a thumbnail was present — and nothing identifying a file, a path or a subject appears anywhere in them, which is what lets a public article quote a family’s library without publishing anything from it.
Frequently asked questions
Why does my folder show the old version of a photo I edited?
There are two different causes and they need different fixes. The usual one is your computer’s own thumbnail cache, which every desktop operating system keeps so it does not have to redraw the same little squares constantly; clearing it makes the system draw them again from the files. The other is that the old picture is stored inside the photograph itself, in a second, smaller image the camera wrote at capture, and no amount of cache clearing will touch it because it is part of the file. The quickest way to tell them apart is to copy the photograph to a computer that has never seen it. If the old picture appears there too, it is inside the file.
What is an embedded thumbnail?
It is a second, much smaller JPEG stored inside a photograph, in a separate directory appended after the camera’s own information block. The reference documentation names the two entries that describe it — an offset saying how far into the file it starts and a length saying how long it runs — and between them they point at a complete small image. Software can draw that image without reading or decoding the photograph, which is why folder views of older photographs appear so much faster than folder views of new ones. In one library of 82,707 photographs, 52,704 carry one.
How much space do embedded thumbnails take up?
Less than people assume. Across 82,707 photographs totalling 80.2 GB, the embedded thumbnails came to 677.6 MB, which is 0.8% of the library. The average one is 13,481 bytes and the largest found was 65,072 bytes. Removing all of them would free about the same space as deleting a single long video, and the only practical way to remove them in bulk also removes the capture dates, because both live in the same block of information. It is a poor trade and an easy one to make by accident.
Can the thumbnail show something different from the photo?
Yes, and we measured how often. We decoded 1,318 embedded thumbnails and compared each one with the photograph around it, reducing both to a 32×32 grid of gray values and taking the average difference out of 255. The typical result was 2.16, which is a very close match. But 97 of the 1,318 — roughly one in thirteen — came in above our line of 24, and the worst scored 90.43, meaning the two pictures have almost nothing in common. Nothing in the file format obliges a program that changes a photograph to rewrite the small copy inside it.
Do new phone photos still have thumbnails inside them?
Mostly not, and the change is recent. In one family library, every photograph dated 2002 to 2007 carries one, 94.6% of those from 2017 do, 47.7% of 2022, 28.5% of 2023, 11.7% of 2024 — and of the 3,119 photographs from 2025, four do. We are not claiming a single cause from one library; several changes in how phones and photo software handle files arrive at the same shape. But the practical effect is clear enough: advice that assumes every photograph contains a small copy of itself now applies to your older photographs and not your newer ones.
Will deleting embedded thumbnails speed up my photo library?
It will slow it down. The embedded thumbnail exists so that a program can draw a small picture without reading and decoding the full photograph, and removing it forces exactly that work on every folder view. The reason a folder of photographs from 2005 appears instantly while a folder from last year sits showing gray rectangles is largely this: the old ones hand over a ready-made picture and the new ones have to be decoded first. If a folder view is slow, the thumbnails inside the files are not the cause.
What size is an embedded thumbnail supposed to be?
There is no single answer in practice. Microsoft’s developer documentation describes the embedded thumbnail as typically 96 by 96 pixels. In one library of 52,704 photographs that carry one, 96 by 96 does not occur at all; the commonest size is 160 by 120, found in 8,877 files, followed by 320 by 240 in 8,031. Altogether 121 different sizes appear, 21 of them exactly once, in shapes ranging from 1:2 to 19:9. Software that assumes a particular size, or a particular shape, will be wrong about a large part of any real collection.
Does rotating a photo update its embedded thumbnail?
It depends entirely on how the rotation is done, which is the whole difficulty. A rotation that rewrites the photograph’s pixels normally rewrites the small copy at the same time, because the editor is saving the file out anyway. A rotation that only changes the orientation note, which is what anything avoiding a re-compression will do, leaves the pixels alone, and whether the embedded thumbnail ends up turned too depends on the program doing the drawing and on whether the thumbnail carries its own orientation note. This is a common way to end up with a grid where some squares are sideways and the photographs themselves are not.
Why do some programs ignore the thumbnail inside a photo?
Because the big platforms deliberately made it possible to ignore it, having concluded that it cannot always be trusted. Microsoft’s Windows Shell thumbnail interface carries a flag meaning do not extract a thumbnail embedded in the metadata of an EXIF image, added in Windows 7, alongside an older flag meaning use the embedded one if it is there. Apple’s image-reading library takes the opposite default: it hands back the embedded thumbnail unless a developer explicitly asks for one built from the full image. So the same photograph can be previewed by two different rules depending on what opens it, and neither program is misbehaving.
Does an embedded thumbnail contain location or other private information?
The thumbnail itself is a picture, so it carries whatever the photograph shows, at low resolution. The more useful point is the one about where it lives: the thumbnail sits in the same information block as the capture date, the camera model and, if present, the location. That is why removing the thumbnail and removing the location are usually the same operation in the same tool, and why stripping that block to clean up a photograph before sharing it also destroys the date the photograph was taken. If the goal is privacy, that may be an acceptable trade. If the goal is space, it is not.