Friday, September 10, 2010

How to Fix iPhone Black Photo Gallery and Thumbnails

As I eagerly awaited my iPhone upgrade to iOS 4.1 to finish, litttle did I know I was in for a surprise.
Indeed, the ease of device transfers and upgrades are one of Apple's best selling points - and truth be told, it usually runs without a hitch. But unfortunately for me... not this time.

As my iPhone rebooted, everything seemed normal... until I went into the Photo Gallery:

All my photos showed up as black squares with no thumbnails!

After the initial panic, I tried to make some sense of it. The photos were still there, and you could even select them and delete them... but the thumbnails showed up as black.
New photos, on the other hand, showed up fine.

First things first! I immediately copied all the photos and video to a backup drive.

Then, after rebooting the iPhone and trying several iTune syncs - without success - I had to resort to the all-knowing friend we have today: "Dear Google, show me what you know about iPhone black photo galleries with black thumbnails."

As expected, there were indeed lots of similar problems reported by other users, some of those coming back from the pre iOS days, with iPhone OS 3.x missing thumbnail reports, but others mentioning precisely the iOS4.
It was odd... so much reports and Apple did nothing to fix this? I was both angry and curious...

Apparently, photo management during upgrades and device transfers doesn't always work as expected.
The first problems were when Apple decided to change the folder structure of photos and its metada. (Truth be told, when I transfered my 3GS data to my iPhone 4, my video thumbnails went missing and were replaced by a "?" sign.)

As I skimmed through forums and google results, I found that most people simply gave up and opted for the easy way out: copy all the photos to new photo albums and sync it through iTunes.

But I'm not a big fan of iTunes, and losing my 1900 photo roll album wasn't something I would give up easily.

How to fix the black thumbnails photo gallery in iPhone?

After a while I was truly convinced this had to do with the cached thumbnails the iPhone stores somewhere.
Indeed I recalled briefly seeing a "rebuilding photo gallery" screen when I rebooted my iOS4.1 iPhone for the first time... but it was quickly gone.
My theory was: that process was interrupted somehow, and the thumbnails were completely corrupted or non-existent.

So, the question now was: How do I force the iPhone to rebuild the Photo Gallery thumbnails?

Some googling later I came across a forum post mentioning some obscure iPhone filesystem files that might have something to do with it.
On the other hand, most of that talk was related to jailbroken iPhones... How was I to access the iPhone file system to get to those files???

Thankfully, i-FunBox does just that: giving you access to the raw iPhone file system, even without jailbreak.

Inside the \PhotoData folder you'll find 3 files:
  1. Photos.sqlite
  2. PhotosAux.sqlite

Without anything else to lose (I had my photos safely backed up), I promptly deleted all 3 files via i-FunBox...

At first, nothing happened, the Photo Gallery was filled with the same black thumbnails, even after terminating and restarting the process.
But, nothing like a real reboot to make sure...

And presto... The Photo Album rebuilding screen showed up once again, and this time it slowly showed its progress across the screen, as it should.

When completed, my iPhone Photo Gallery and Album was perfect, with all the thumbnails showing up - even the video one that were lost in the migration to the iPhone 4.

As a last note; I find it odd that, with the number of people experiencing this problem (and no one is safe from it, as some people say this happened "without notice" - all it takes is a corrupt thumbnail database) why couldn't they tuck away a photo cache reset button somewhere in the setting menu, just like they have a clear cache option for Safari?


  1. thanks for this, im experiencing same problem but with photos already from iPhone 4. I'll try this method tonight.

  2. @Helen
    Please let me know if that fixes it for you! Hope it will. :)

  3. Works like a charm although I used iPhone Explorer vs. i-Funbox. Thanks!!

  4. I had the mysterious black squares, and tried the fix you mentioned above (with iPhone Explorer) and it worked perfectly. Thank you so much!

  5. @MMMasters
    Glad to hear it. Really an annoying bug.

  6. Thank you so much!!

    i was looking for a solution for weeks

  7. Thank you! You are awesome!

  8. When I wrote about it I knew I wouldn't be the only one. Glad to be helping you guys! :)

  9. Just adding this worked for me as well on my iphone 4 with 4.1 IOS installed. Thanks very much.

  10. Many thanks, cheers for the info, worked perfectly.

  11. I'm surprised to see so many people having to deal with this "glitch". Anyway, glad I could be of help! :)

  12. Thanks a lot! You just saved lots and lots of precious family photos. The OSX-app "PhoneView" did the trick for me.

  13. By accidently I deleted the photos of my iphone 3gs through I-funbox, without a backup. But still in the camera roll the no of photos showing with black thumbnails. And in the directory I can see the file without thumbnails, when I browse through i-funbox. But I cannot open the photo even through i-funbox. Any one please helps me to get back the photos.

  14. Worked! Didn't even need to reboot! Even still connected to i-FunBox, just opened the Photos app on the phone, it restored itself and tada!

    Thank you!

  15. Does this same technique work on iOS 5?

  16. This not works. My Iphone says: "High Resolution images synced via ITunes are missing. Connect your device to the computer you sync photoes from and launch ITunes to sync them" When I am trying to delete them via ITunes - it does not work...again///and the file "" comes again into that folder

  17. This worked perfectly. I nearly lost 140 pictures recently taken. I also used iExplorer (formerly iPhone Explorer). I'm really surprised that even 18 months since you wrote this, that others haven't said much about this issue. Thank God for bloggers because for some reason Apple isn't saying anything about this.

  18. thanks a lot. i am from Russian and tried to find how to solv this problem in russian forums. no solutions. by ocasion found this side. and you know what? its works!!!! yupii!!! i am a girl and not very good with such stuff but even i could make it! thank you soooo much. you saved my 2000 photos!!

  19. THANK YOU!!!!!!!!!


    it was bugging me for days lol

    if i wouldnt had found this post i would have had to restore and remove the jailbreak and add all the stuff back again!!

    Thanks again :)

  20. I had a related issue in iOS 6.0.1, wherein the Photo and Camera apps were using 17g of storage even with no photos or videos sync'd - over a quarter of the storage on my 64g iPhone 4s!

    I force-quit the iPhoto app, erased both the root level Photo folders, and then re-synchronized. It's made backups much faster, and I have a lot more room for music and actual photos. Thanks for this post - it helped me figure out where to start!


Related Posts with Thumbnails

Amazon Store