What to do if images disappear from gallery on Android

What to do if images disappear from gallery on Android

Sometimes, on Android smartphones, you may run into a problem: you open "Gallery".but all images are missing. We want to tell you what to do in these cases.

Causes and ways to solve the problem

The causes of this failure can be divided into two groups: software and hardware. The first includes cache corruption «Galleries».The following items can damage the memory card or internal storage device. The second is damage to the memory device.

The first thing to know is whether the photos are present on the memory card or on the internal drive. For this, it is necessary to connect the memory card (for example, via a special card reader) or the phone, if the images from the internal storage have disappeared. If the images are recognized on the computer, it is most likely that a software failure has occurred. If, on the contrary, there are no images or there is a malfunction during the connection (for example, Windows suggests formatting the drive), then the problem is hardware. Fortunately, in most cases you will be able to recover your photos.

It may interest you:  Ways to create a game on Android

Method 1: Clear the «Gallery» cache

Due to the nature of Android, the gallery cache may fail, causing photos not to be displayed on the system, even though they are recognized and opened when connected to the computer. If you run into this kind of problem, you have to clear the application cache.

Read more: Clear app cache on Android

    1. Open "Settings". in any way possible.

    1. Go to general settings and find "Applications". o "Application manager"..
    2. Click on the tab "Everything". or something similar, and search for a system app "Gallery". Tap it to go to the details page.
    3. Locate the "Cache" box on the page. Depending on the number of images on the device, the cache can be anywhere from 100MB to 2GB or more. Press the button "Clear".. Then… "Clear data.".
    4. After clearing the gallery cache, go back to the general list of applications in the manager and search "Media storage".. Go to the properties page of this application, and also clear its cache and data.

  1. Restart your smartphone or tablet.

If the problem was a gallery crash, it will go away after these steps. If you didn't, read on.

Method 2: Delete the .nomedia files

Sometimes, due to the action of viruses or the user's own inattention, files with the name .nomedia may appear in directories with photos. This file has been migrated to Android with the Linux kernel and represents the service data, which prevents the file system from indexing the media in the directory where it resides. Simply, the photos (as well as the video and music) in the folder that contains the file .nomediaThe photos will not appear in the gallery. You must delete the file to recover the photos. You can do it with Total Commander, for example.

  1. After installing Total Commander, log into the application. Access the menu by pressing the three dots or the corresponding key. In the menu that appears, press «Settings… ».
  2. In settings, check the box next to "Hidden files / folders".
  3. Then visit the photos folder. This is usually a directory called "DCIM"..
  4. The specific folder with the photos depends on many factors: firmware, Android version, the camera itself used, etc. But, as a rule, photos are stored in directories with names "100ANDRO", "Camera". or right there in the "DCIM".
  5. Let's say some photos are missing in a folder "Camera". We went into it. Total Commander's algorithms place the system and service files above all other files in the directory on the standard screen, so the presence of .nomedia it can be noticed immediately.

    Long press on it to bring up the context menu. To delete a file, select "Delete"..

    Confirm the deletion.

  6. Also check other folders that may contain photos (for example, the download directory, folders for messaging clients or social networks). If they also contain .nomedia, delete it as described in the previous step.
  7. Restart the device.

After reboot, go to "Gallery". and check if the photos have been restored. If nothing has changed, read on.

Method 3: Restore Photos

In case methods 1 and 2 have not helped you, you can conclude that the essence of the problem lies in the unit itself. Regardless of the cause of the problem, you cannot do without file recovery. The details of the procedure are described in the following article, so we will not dwell on them.

Read more: Recover Deleted Photos on Android


As you can see, the missing photos of "Gallery". Not a cause for panic at all - most of the time you can get them back.

We are glad that we were able to help you with your problem.

Describe what has not worked for you.
Our specialists will try to respond as quickly as possible.

Has this article helped you?

It may interest you:  Update OpenGL ES on Android