Today, I was observing WhatsApp app behavior.
By using a camera, I took a photo. That photo got stored in the 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 the camera directory and checked my WhatsApp contact (to whom I shared the photo) it was still in the list of messages.
Then I found on Google that WhatsApp also stores sent images in the internal directory as well. Then I deleted the same photo from WhatsApp's internal memory and checked the WhatsApp contact (to whom I shared the photo), I found that there was no real photo but a blurry image of the same photo was there (that is called thumbnail).
I tried to find out 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 the cell where WhatsApp stores the thumbnails? I am assuming that WhatsApp keeps the thumbnail URL and downloads on demand. Is that right? Any help?
/data/data/com.whatsapp/databases/msgstore.db
/data/data/com.android.providers.contacts/files/photos/
. You can verify