Quantcast
Channel: xda-developers - Android Software and Hacking General [Developers Only]
Viewing all articles
Browse latest Browse all 3614

[GUIDE] Stop Giant thumbnail files being saved on your sdcard by the Gallery

$
0
0
On Android 4 ICS (and possibly others), a giant thumbnail file may be created in your DCIM folder. This file can be several Gigabytes in size, depending on how many pictures you have. It is generated by the Android Gallery app.

Here's a list of different ways to prevent or reduce the size of that giant thumbnail file.

1.Quick and temporary solution- just delete any files/folders in your DCIM folder that start with .thumbnail

2.Create a file named .nomedia in certain folders to prevent the gallery from scanning those folders.
The standard trick under android to "hide" image files such as book cover artwork or cd artwork from the Gallery app was to place a .nomedia file in the folder concerned.

However, for some reason this process has been buggy in the extreme on tablets. Well, I believe I have found the solution. It would appear that under Honeycomb & the ICS we have on our tf devices, the media scanning process only gets done once - when the system is first started. This means that all the artwork for books etc gets presented in the Gallery app even if there is a .nomedia file in the relevant folders/s. On many android devices, there is a setting that enables you to rescan your media. Or if you unmount and then remount an external storage card, the system rescans - but not on HC or ICS!

SOLUTION
Place .nomedia files in all the folders you do not want displayed in Gallery

Go to settings - apps - gallery
Clear cache, clear data, force close

Go to settings - apps - media storage
Clear cache, clear data, force close

Hard reset (cold boot) this will not delete any data

Next time you open Gallery it may not contain anything, but give it a minute while the system is still scanning the device & you will find that only the folders you want to be visible, are visible.
Credit : Janner43@transformerforums


3.Delete the .thumbnail and replace is with an empty folder or empty file. More Info
Thanks To hewillmakehell


4.A thumbnail deleter app developed by ppero196

Credits :
Sepero@Androidforum
ppero196 For Thumbnail Deleter App
hewillmakehell

Viewing all articles
Browse latest Browse all 3614

Trending Articles