Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

Some photos do not show up in the gallery app. I can find those particular shots trough the camera app for some reason, and using a file-browser I can find them too. But they will not show up in the gallery.

I found this topic about thumbnail problems. I did what the answer suggested, although it was not exactly the same problem. Sadly it didn't help.

Another topic talks about latency. I don't think "use a quicker phone" is a solution (desire-z is quick enough), and we're talking about a different problem: I have pictures from yesterday not shown, but from today are in there, so the scanner has been running.

Why don't all my photos show in the gallery?

edit: the images do not seem any different. They are all saved in



IMAG0402  //visible
IMAG0403  //invis
IMAG0404  //invis
IMAG0405  //invis
IMAG0406  //visible

(I checked this trough ASTRO browser)

share|improve this question
I assume the missing ones are stored in the same place as ones that show up, and are named similarly? –  Matthew Read Mar 17 '11 at 19:42
yes, i'll add an example with filesnames –  Nanne Mar 17 '11 at 19:43
I'm getting the exact same problem!!! Sometimes my photos don't show up at all till I connect to a computer. THey all show with a file manager though :/ –  user3553 Mar 19 '11 at 20:55

7 Answers 7

up vote 12 down vote accepted

Try deleting the /mnt/sdcard/DCIM/.thumbnails folder and rebooting your phone. You may need to clear data for Media Storage and possibly the Gallery app/anything related as well.

share|improve this answer
That did help for the old pictures, but it doesn't for some new shots. That might be the latency one of the other questions talks about, so I'll give it a moment :) –  Nanne Mar 17 '11 at 20:04
it DID fix my picasaweb problem by the way. 0_o android.stackexchange.com/questions/7013/… –  Nanne Mar 17 '11 at 20:52
Yeah, I think it's more Android OS latency than device slowness. It doesn't seem to scan for new media files very well. The camera should really trigger something to add the new photo to Android's "scanned media" list, or something like that. –  Matthew Read Mar 17 '11 at 21:06
But how long is latency? It's been over an hour, and although al the deleting and rebooting has made the older shots come up, but my testshot is still gone (over an hour). That's something else than latency maybe? –  Nanne Mar 17 '11 at 21:13
Hmm. Now it did show up, but somewhere random, so I couldn't find it at first. But it should have scanned, I mean, I can understand slowness, but an hour must be something else. The scan must be triggered allready. This morning I had some not show up, but newer ones that did. Anyway, this answer looks like the best I'll get :) –  Nanne Mar 17 '11 at 21:27

I had the same issue.Turns out my .thumbnails folder was not inside my DCIM folder. I moved it back inside, restarted the phone and it's been fine since

share|improve this answer

For me, it was enough to just open /mnt/sdcard/DCIM/.thumbnails folder using Astro File Manager, I scrolled down and up through all files within this folder and I've seen system showing message "creating thumbnails". Once I returned to Gallery, even without restarting phone, all camera pictures and videos displayed properly.

You could also try opening a few of the photos in the DCIM folder using Astro in order to trigger a refresh.

share|improve this answer
Hmm, doesn't seem to work for me. Wouldn't that 'creating thumbnails' be for the thumbnails-of-the-thumbnails that astro needs, not the thumbnails self (the files allready in that directory, that are thumbs of your photos?) –  Nanne Sep 15 '11 at 11:09

SDrescan is small and easy to use:

If you happen to have a custom rom with dev tools installed, use that:
Launch "Dev Tools" => Media Provider => Scan SDcard

Both ways hide the manual steps from you and you can't delete stuff by mistake this way.

share|improve this answer

you need to reescan the sdcard. add this line after save the image

sendStickyBroadcast(new Intent(Intent.ACTION_MEDIA_MOUNTED, Uri.parse("file://"+ Environment.getExternalStorageDirectory())));

and add permisions in androidmanifest.xml

share|improve this answer
The OP did not mention anything about developer related issues within their question hence -1 from me. –  t0mm13b Dec 31 '12 at 15:23
Indeed, this was not development related (I'd have asked it on SO then :) ) –  Nanne Jan 1 '13 at 11:06

Deleting sdcard/DCIM/.thumbnails folder solved this for me.

share|improve this answer

Go to your Menu --> Dev Tools --> Media Provider --> Scan SDcard

After this restart your Application.

share|improve this answer
What version(s) is that valid for? I don't see it (for instance) on ICS. –  Al E. Jun 12 '12 at 18:33
This answer is already present here and applies only to custom roms like CM9 which include the "dev tools" app. –  ce4 Jun 13 '12 at 16:20

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.