2

Today I was observing WhatsApp app behavior.

By using camera I took a photo. That photo got stored in camera directory of my cell phone (obviously that is normal behavior). And after that I shared the same photo to one of my contacts using WhatsApp. After sharing, I deleted that photo from camera directory and checked my WhatsApp contact (to whom I shared the photo) it was still in the list of messages.

Then I found over the Google that WhatsApp also stores sent images in internal directory as well. Then I deleted the same photo from WhatsApp internal memory and checked WhatsApp contact (to whom I shared photo), I found that there was not real photo but blurry image of the same photo was there (that is called thumbnail).

I tried to find out from where it was getting that thumbnail? I searched my whole cell phone directory or even WhatsApp media directory as well but could not find the thumbnail. My question is what is the location in cell where WhatsApp stores the thumbnails? I am assuming that WhatsApp keeps thumbnail url and download on demand. Is that right? Any help?

2
  • I guess the thumbnail is stored in the database itself as a blob, which is at /data/data/com.whatsapp/databases/msgstore.db
    – Gokul NC
    May 12, 2017 at 14:15
  • I can see them here /data/data/com.android.providers.contacts/files/photos/. You can verify
    – beeshyams
    Aug 22, 2017 at 10:21

3 Answers 3

2

WhatsApp stores the thumbnail as BLOB in the database in message_thumbnails table under thumbnail column.

1
  • this is correct. For anyone wanting to populate a iOS->Android sqlite db with thumbnails, its insert into message_thumbnails (thumbnail, key_remote_jid, key_id) values (x'<hexstring>, '[email protected]', '2AD6F9891DFF121C126D'););
    – wbob
    Aug 11, 2021 at 1:32
0

Go to Explorer/ file manager of your mobile, and scroll down to Whatsapp folder. Open it and go to Whatsapp Media.Then activate Show hidden files option ( Usually a 3 dots symbol at top right corner ).So you can see the .sent folder and open it,search for your photo

1
  • 1
    This is NOT correct, thumbnails are NOT stored in "whatsapp images\.sent" folder
    – elady
    Dec 27, 2019 at 12:36
-2

Check the thumbnails table in the database at /data/data/com.whatsapp/databases/msgstore.db.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .