• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
UBports Robot Logo UBports Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Gallery App Automatically Loads Images From SD Card

Scheduled Pinned Locked Moved Solved Lenovo Tab M10 X605F/L
9 Posts 4 Posters 533 Views 2 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D Offline
      dtarrant
      last edited by 17 Jun 2022, 01:09

      @Luksus
      This is a report of unexpected behaviour. I was expecting to be able to control whether images from the sd card were loaded or not.
      I will explain:
      I recently transferred a 64gb sd card from my BQ M10 tablet to my Lenovo tab. The sd card contains hundreds of photos, together with several videos and other assorted items.
      I launched gallery expecting to see just the photos that I have recently created. However, much to my surprise, the gallery app became very busy and proceeded to import all the stuff from the sd card.
      I'm impressed it can do that, but I would prefer to be able to control when this should happen.

      A 1 Reply Last reply 17 Jun 2022, 04:52 Reply Quote 0
      • A Offline
        arubislander @dtarrant
        last edited by 17 Jun 2022, 04:52

        @dtarrant this is normal UT behavior. If you have any folders you wish not to be scanned for media, add a file named .nomedia to it.

        πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
        Happily running Ubuntu Touch
        Google Pixel 3a (20.04 DEV)
        JingPad (24.04 preview)
        Meizu Pro 5 (16.04 DEV)

        D 1 Reply Last reply 17 Jun 2022, 08:23 Reply Quote 1
        • D Offline
          domubpkm
          last edited by 17 Jun 2022, 06:52

          Another solution is to create a folder containing everything you want that does not appear in Gallery and put this folder in the folder 'my documents' of the SD CARD for example.

          D 1 Reply Last reply 17 Jun 2022, 08:34 Reply Quote 1
          • D Offline
            dtarrant @arubislander
            last edited by 17 Jun 2022, 08:23

            @arubislander
            Thanks for your reply.
            Interesting - I don't remember having the problem when the sd card was in my BQ M10 tablet.
            Time for some experiments I guess.
            You suggest adding a file named .nomedia to any folder to be excluded. What should .nomedia contain, or should it be empty?
            Or did you mean adding the suffix .nomedia to the folder name?

            A 1 Reply Last reply 18 Jun 2022, 08:16 Reply Quote 0
            • D Offline
              dtarrant @domubpkm
              last edited by 17 Jun 2022, 08:34

              @domubpkm
              Thanks for your input - I'll have to investigate the file structure of the sd card with file manager to see how this could be done.
              I'm a bit cautious of messing with the sd card folders in case I bork them. They contain important family stuff like my daughter's wedding photos and video.

              K 1 Reply Last reply 17 Jun 2022, 08:47 Reply Quote 0
              • K Offline
                Keneda @dtarrant
                last edited by 17 Jun 2022, 08:47

                @dtarrant said in Gallery App Automatically Loads Images From SD Card:

                They contain important family stuff like my daughter's wedding photos and video.

                First of all you should have 3 saves for that kind of stuff.

                2015-2023 : Meizu MX4 ☠️⚰️✝️
                2023-2024 : Nexus 5 ☠️⚰️✝️
                2024-***** : FPOS Fairphone 5 waiting UT for freedom πŸ˜‰
                πŸ‡²πŸ‡«πŸ‡¬πŸ‡§

                D 1 Reply Last reply 17 Jun 2022, 09:44 Reply Quote 1
                • D Offline
                  domubpkm @Keneda
                  last edited by 17 Jun 2022, 09:44

                  @keneda Yes, having the important files in triplicate is good.

                  1 Reply Last reply Reply Quote 0
                  • A Offline
                    arubislander @dtarrant
                    last edited by 18 Jun 2022, 08:16

                    @dtarrant I meant just having file named .nomedia in the root of the folder you wish to exclude from the media scanning operation. This works for folders on the internal storage too. The file can be empty.

                    I would like to add my voice to those who said that having your important photos only on that one (or any) SD card is a very precarious situation.

                    πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
                    Happily running Ubuntu Touch
                    Google Pixel 3a (20.04 DEV)
                    JingPad (24.04 preview)
                    Meizu Pro 5 (16.04 DEV)

                    D 1 Reply Last reply 18 Jun 2022, 10:40 Reply Quote 1
                    • D Offline
                      dtarrant @arubislander
                      last edited by 18 Jun 2022, 10:40

                      @arubislander
                      Thanks for your reply. I've tried putting empty .nomedia file in root of sd card and confirm it works.
                      However, at first imported stuff was still in Gallery, so used UT Tweak Tool to clear.
                      Then gallery only contained stuff recorded prior to inserting sd card!
                      Btw, agree the need for triple backups of important family photos etc.

                      1 Reply Last reply Reply Quote 0
                      • D dtarrant marked this topic as a question on 18 Jun 2022, 23:19
                      • D dtarrant has marked this topic as solved on 18 Jun 2022, 23:20
                      6 out of 9
                      • First post
                        6/9
                        Last post