Gallery app issue in EMUI - General Questions and Answers

Hello All,
Since long time i facing some issue related to Gallery App. Below is the description.
On Memory Card there is path /Memory Card/Xender/images/abc.jpg. In Gallery it's showing correct path, in 'Other' section of Gallery there is folder named 'images' and in that abc.jpg is showing.
I move /Memory Card/Xender/images/abc.jpg to new location /Memory Card/Pictures/My/abc.jpg and deleted the folder /Memory Card/Xender and all it's content.
Now, when i open Gallery in 'Other' section i can still see folder named 'images' (which was in /Xender/ and i have already deleted it) and in that abc.jpg is still showing. However when i check properties/details of abc.jpg in Gallery it shows me correct path which is /Memory Card/Pictures/My/abc.jpg.
Though folder has been deleted and image file has been moved to different location, why Gallery is showing that folder and image in that folder.
To resolve this i have to clear data of Gallery App and due to which all highlights and discover gets deleted. Which is really sad..
Can someone please help me to resolve this issue or provide the workaround without losing any data.
Reboot dosen't help, also tried to clear Cache of Gallery App.

Related

GALLERY - Howto Prevent Indexing Certain Directories

I have a folder on my SD card that I don't want images to appear from. Is there a means to exclude certain directories?
Sent from my DROIDX using XDA Premium App
Put an empty file called .nomedia in the directory.
This one works well for me - makes the process easier:
https://market.android.com/details?id=com.studiokuma.nomedia
What kind of images don't you want to show up in your gallery?
The .nomedia method should work for you, if not you can always rename the folder with a "." at the beginning to make it hidden
Folder name examples:
.pr0n / .dontlookhere / .ignore
kyouko said:
What kind of images don't you want to show up in your gallery?
The .nomedia method should work for you, if not you can always rename the folder with a "." at the beginning to make it hidden
Folder name examples:
.pr0n / .dontlookhere / .ignore
Click to expand...
Click to collapse
.nomedia works for me, as far as keeping stuff out of the gallery. Being all grown up in my computer usage, I choose to not let my computing devices hide stuff from me, so that .folder thingy doesn't work for me (and pictures in those .folders without a .nomedia file still seem to make their way into my gallery).
I do have a .stuff folder for my .porn though... Keeps it up near the top of the list...
how about the hideitpro app from the market? it's actually pretty cool. opens up as an audio manager, then you put in a password and there you have all the hidden files you want. not just pics...just an fyi
Install the app Just Pictures and ignore the folders you don't want to see.
The .nomedia "solution" prevents the album art to display in the media players.
I use the app QuickPic from the Market, and in the app you can choose which folders you want include and exclude. Pretty useful. You don't have the pretty 3-D effects from the default Gallery app but it's so much faster.
You can do the same thing with Fishbowl Gallery. You can set default albums, as well as hide albums. However, this still doesn't prevent someone from stumbling upon the default gallery app. The best solutions are either .nomedia, or do not have media on your phone that you do not want prying eyes to see. Alternatively, while cumbersome, you can use androzip or unrar pro to zip the material in question. Of course, by zipping your files, you can add the additional layer of security by encrypting it, if you're the paranoid sort.
Sent via Tapatalk on CM7.0.0-Vision Stable.
I remember this method. Any one know if the older file deletion ever got fixed with 2.2.1 or later?
If you don't know what I'm talking about here's a quick rundown.
You put the .nomedia file in a folder with pictures, upon reboot all those pictures are deleted. This had something to do with them already being scanned once and them being older than the .nomedia file so instead of ignoring them it deletes them. Something along those lines (anyone have the link to the original bug report from back in '08 or '09?).
Anyway, if it hasn't been fixed you've been warned, you stand a good chance of losing all media in those folders. So backup those files - but you knew that already
The easiest remedy to this is to remove the files, rename the folder to .whatever or insert the .nomedia file. Reboot. Then throw the files back onto the sdcard. That should eliminate any issues.
I've used the .nomedia solution awhile back to get icons, cover art, etc out of my gallery and it worked just fine... nothing was deleted (Droid X).
IIRC, I did have to clear the gallery app's cache to get it to "forget" about media that it had already found; on first lauch after clearing it's cache, expect it to be slow as it re-scans your device / sd card (..rebooting didn't work to clear the cach on my device... had to clear it via settings > application > manage apps..)
.nomedia file solution works
KCRic said:
I remember this method. Any one know if the older file deletion ever got fixed with 2.2.1 or later?
If you don't know what I'm talking about here's a quick rundown.
You put the .nomedia file in a folder with pictures, upon reboot all those pictures are deleted. This had something to do with them already being scanned once and them being older than the .nomedia file so instead of ignoring them it deletes them. Something along those lines (anyone have the link to the original bug report from back in '08 or '09?).
Anyway, if it hasn't been fixed you've been warned, you stand a good chance of losing all media in those folders. So backup those files - but you knew that already
The easiest remedy to this is to remove the files, rename the folder to .whatever or insert the file. Reboot. Then throw the files back onto the sdcard. That should eliminate any issues.
Click to expand...
Click to collapse
The .nomedia file solution works fine for me on Android 2.3.3.
The issue you mentioned is therefore fixed (nothing file was deleted unexpectedly).
Reboot was also necessary so that the native photo gallery app does not display the icons/pics any longer for the folders where I added the .nomedia file.
Furthermore, this works also for the music files.
(I use also TapeMachine app, and wanted to avoid that the sounds I recorded are listed in the Music Player).
If I place a .nomedia file in a directory, does that exclude all of its subdirectories from the gallery, as well?
Yes, it does. I just placed a .nomedia file in my /Music folder on my extsdcard and all the pictures in my albums are gone after a reboot.
UPDATE: I just tied this on my tablet (running 4.4.2) and it did not need a reboot. Gallery adjusted automatically. It was a folder on the extsdcard - and since 4.4.x restricts access to the sdcard, it stands to reason it saw the file placed and adjust the library automatically.
NiveusLuna said:
If I place a .nomedia file in a directory, does that exclude all of its subdirectories from the gallery, as well?
Click to expand...
Click to collapse

[Q] Thumbnails Disappeared: ICS 4.0 3

MZ604; Rooted; Stock ICS 4.0.3
UPDATE:
Problem solved! In the event any other readers have the same issue, I have outlined how I solved the problem. Note that the discussion which follows was synthesized from behavior and may not be 100% accurate...but is close and sufficiently accurate to solve the problem.
The issue was actually caused by my deleting the thumbnails which are located in: /mnt/sdcard/DCIM/.thumbnails. The contents of this folder are created and maintained by the"Gallery" app. As new content is discovered by the, "Mediascanner" app, the Gallery app updates the .thumbnails folder (database & thumbnails).
The solution of the problem then appeared to be recreation of the contents of the, .thumbnails folder. This, presumably, could be done by forcing the Gallery app to recreate the contents based on information provided by Mediascanner. Simple re-installation of the Gallery app then should do it. The Gallery app, however, is actually stored in the ROM, therefore not directly accessible to reinstall. Titanium Backup creates a copy of all apps, irrespective of location, and theoretically could be used to restore the Gallery app thereby simulating an initial installation which would result in creation of the thumbnails and controlling database (contents of the .thumbnails folder).
This approach seemed reasonable and was executed. The result was recreation of the .thumbnails folder, and update of the Gallery app. As a last, "clean up" step, I went to the Application section in Settings and deleted the updates thereby returning the app to its original state. Problem solved. Hope this is of benefit to anyone having a similar problem
Microi
==============================================================================================
ORIGINAL POST:
I copied images (JPEG) from the external micro SD to the internal SD card. I erroneously used the, ".foldername" to prevent display of some media. The result was that thumbnails from every folder were discovered by MediaScanner and displayed.
I searched for (not exactly knowing what I was looking for) the source of the thumbnails, deleted and then restored some files. The result of this "folly" was the disappearance of all thumbnails.
I obtained the, "Rescan Media" app and forced MediaScanner to rescan; no cigar!
Despite all efforts I have been unable to restore the thumbnails in, "Gallery". The images are on the internal SD card but have no thumbnail pointers.
I am at the point of doing a factory reset now but wanted to put this issue on the air before that drastic move.
If anyone has a solution, I would appreciate your input.
N.B. Once resolved, I will use, ".nomedia" to prevent media display.
Thanks in advance!
Microi

[Q] Hiding media from gallery or music ("nomedia" trick not working)

Hi all
I've installed some apps which have their folder on the sdcard with various images, sprites, sounds (one of these is a satnav app).
The problem is, these appear and clutter my gallery and music apps. I use both apps from motorola and not their google counterpart.
I already put a .nomedia file in the folders, rebooted the phone, cleared data on those apps, deleted thumbnail caches on the sdcard, and it doesn't work. They still show up.
So how can I do?
Thank you in advance
I've partially solved my problem with a media re-scan, triggered by renaming a folder containing media files (and then renaming it back)
The problem is that, if files into that folder change, because any app (or I) copies new stuff into them, all the hidden files pop up again in the gallery/media.
I wonder if it's an Android bug or a Motorola bug...
I've had the same problem and I solved it by placing .nomedia files in the unwanted folders and then force a media rescan with the app "Rescan Media" eek from the market
https://market.android.com/details?id=com.addz.mediascanner
or using quickpix to create that file
manojsuper said:
you have to create a new file called ".nomedia" not a folder >.>
Click to expand...
Click to collapse
Where did I say that?
I tried media scanner but it doesn't work. (fyi i'm not rooted)
When I move music around (ie from the download folderr to the music folder) it gets duplicated in the music app, both motorola's and google's. Once i unmount and remount the sd card it sorts the problem on itself.
Same thing when I move images, the thumbnails get duplicated and only one of the two loads correctly, but I can't get them to disappear unless i delete my gallery's data, and then i lose all the video thumbnails. My gallery is now full of old thumbnails, gray "unknown" thumbnails, and thumbnails that don't load.
thenext1 said:
I tried media scanner but it doesn't work. (fyi i'm not rooted)
Click to expand...
Click to collapse
As far as I know, you don't have to be rooted to use the app I linked. There is a more extensive version of the app that specifically requires root which is what I base my assumption on...
The app only forces the android internal media-scanner service to re-index all files and it does so without giving any sort of feedback. Once the app is started the media-scanner is triggered and the app seemingly does nothing, so you wouldn't get a confimation or anything...
As I said I had the same problem, but using .nomedia-files and the app solved it... Be aware that if you place a .nomedia-file in a folder the contents of that folder and it's sub-directories are being skipped by the media-scanner.
I'd recommend cleaning up all the directories and systematically copy a .nomedia file in unwanted directories. After that launch the app ance more and you should be set...
Preggy said:
As far as I know, you don't have to be rooted to use the app I linked. There is a more extensive version of the app that specifically requires root which is what I base my assumption on...
The app only forces the android internal media-scanner service to re-index all files and it does so without giving any sort of feedback. Once the app is started the media-scanner is triggered and the app seemingly does nothing, so you wouldn't get a confimation or anything...
As I said I had the same problem, but using .nomedia-files and the app solved it... Be aware that if you place a .nomedia-file in a folder the contents of that folder and it's sub-directories are being skipped by the media-scanner.
I'd recommend cleaning up all the directories and systematically copy a .nomedia file in unwanted directories. After that launch the app ance more and you should be set...
Click to expand...
Click to collapse
The problem is that, even if I put nomedia files everywhere needed, when I move files in/out of these dirs, they all pop up in Gallery/Music, including those that were previously hidden. And to solve this (talking only of Gallery now) I have to clear its app data. It would be just easier to hide the "all images" section of Gallery...
I miss the good ol android 2.1 times where you could fiddle with everything with any app without worrying for refreshes, etc...
Give ".no_media" a try?
cogeary said:
Give ".no_media" a try?
Click to expand...
Click to collapse
I never heard of such a magic file name...
thenext1 said:
I never heard of such a magic file name...
Click to expand...
Click to collapse
Neither have I, but ROM Toolbox uses it when it puts previews of boot animations onto my SDCard and the gallery doesn't pick them up.
Just use QuickPic from the market, if it's available to you. I've been using it for quite some time, install that and freeze the gallery app. Ability to hide certain folders is built right in.
+1 to the QuickPic app...the stock Gallery SUCKS!!! I hide all the folders I do not want to be scanned and now I have a clean photo library. I also use PowerAmp for music since I hide my music folder so that I don't see album art and PowerAmp allows you to select folders to scan (regardless if there is a .nodedia file or not) instead of scanning everything. I believe Winamp will do the same thing, not sure.

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

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 : [email protected]
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 :
[email protected]
ppero196 For Thumbnail Deleter App
hewillmakehell
nice tutorial tested in ics works with the nomedia file just wnt to ask if can be applied in gb
Sent from my GT-P3110 using XDA Premium HD app
It doesn't work,after reboot it comeback with different filename.
I have 4.2GB thumbnail as I have hundreds of HQ photos
in my phone gb ics jb
just open rootex ... u can buy on Ps
push menu n make a new file...
give name .thumbnails
move to dcim n replace thumbails folder?
if rootex fc when u replace files .thumbnails
just delete thumbnails folder n replace with .thumbnails file
binggo...

[Completed] [Q] Gallery not recongnizing/showing images from internal SD card

When I try and change my wallpaper I can't seem to find any of the images on my*SD*card*to pick from. The gallery does however show images that are stored on my*externalmicroSD*card. I can explore the internal*SD*card*with a file manager I downloaded (I think it's called File Manager 1.1.4) and copy the images from my internal to a folder on the external. If I can explore the internal, why can't I see the pics in the gallery?*
Is there a way to tell the gallery app to search all folders or something? A refresh button? The gallery app is stock CM11 mod.*
I just noticed the same thing is happening with videos. When I open up the stock video app it shows "no videos", which is certianly not the*case*as I have a bunch transferred to the internal*sd card*and a couple that I've taken with the camera.
Any ideas outside of completely reformatting/re-flashing?
Hi there,
About what device are we talking about?
Thanks

Categories

Resources