# Cover-photo is in the folder with the music - but not put into tag-structure

**URL:** https://community.mp3tag.de/t/cover-photo-is-in-the-folder-with-the-music-but-not-put-into-tag-structure/63537
**Category:** Support
**Created:** [January 23, 2024, 11:19am UTC](https://community.mp3tag.de/t/cover-photo-is-in-the-folder-with-the-music-but-not-put-into-tag-structure/63537 "2024-01-23T11:19:37Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![gjj](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/g/ee59a6/32.png) [@gjj](https://community.mp3tag.de/u/gjj)
#### Post date: [January 23, 2024, 11:19am UTC](https://community.mp3tag.de/t/cover-photo-is-in-the-folder-with-the-music-but-not-put-into-tag-structure/63537/1 "2024-01-23T11:19:37Z")

</div>

Hi, I have a file structure \genre\artist\album-name\name of the music-file and one (or perhaps two) picture in the upper directory containing the cover-photo.

I a big file-structure (all CD's I bought over many years when CDs were still the way to go).

I would like to get the photos tagged on every file in each directory. If there is more than one, perhaps getting a question? I find a lot of ideas on renaming files, bur none that connects all files in a directory to the same cover.

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [January 23, 2024, 12:08pm UTC](https://community.mp3tag.de/t/cover-photo-is-in-the-folder-with-the-music-but-not-put-into-tag-structure/63537/2 "2024-01-23T12:08:05Z")

</div>

> [@gjj](#):
>
> in the upper directory containing the cover-photo

Does that mean that the picture files are one folder-level above the music files?

Try an action of the type "Import cover from file"  
Format string: `..\*.jpg`  
for the first picture file in a folder 1 up from the current file.  
or  
Format string: `*.jpg`  
to get the first picture file from the folder where the audio file is.

> [@gjj](#):
>
> perhaps getting a question?

You don't get a query while an action is running.

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [January 23, 2024, 12:11pm UTC](https://community.mp3tag.de/t/cover-photo-is-in-the-folder-with-the-music-but-not-put-into-tag-structure/63537/3 "2024-01-23T12:11:27Z")

</div>

> [@gjj](#):
>
> If there is more than one

Did you named the photos like "Front" or "Back" or something like that?  
Maybe you could use that fixed part of the coverfilename to identify what the cover contains?

As @ohrenkino already wrote, there is no question per cover or anything like that. You need to find a common filename part that you could use.

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [January 23, 2024, 12:14pm UTC](https://community.mp3tag.de/t/cover-photo-is-in-the-folder-with-the-music-but-not-put-into-tag-structure/63537/4 "2024-01-23T12:14:32Z")

</div>

I would do that in steps and first get all the covers where the case is clear.  
Then it would be worthwhile to see where covers are still missing and get those done.  
And in the end I would have a look at the dimensions of the covers and then get better one for those that are too small.  
I think it is an illusion to get everything right with just one command.

---

<div class="post-metadata">

### Author: ![gjj](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/g/ee59a6/32.png) [@gjj](https://community.mp3tag.de/u/gjj)
#### Post date: [January 24, 2024, 7:40am UTC](https://community.mp3tag.de/t/cover-photo-is-in-the-folder-with-the-music-but-not-put-into-tag-structure/63537/5 "2024-01-24T07:40:42Z")

</div>

Thx, more a hope than an illusion 🙂

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [January 24, 2024, 7:43am UTC](https://community.mp3tag.de/t/cover-photo-is-in-the-folder-with-the-music-but-not-put-into-tag-structure/63537/6 "2024-01-24T07:43:34Z")

</div>

And?  
Has it worked at least partially?

---

<div class="post-metadata">

### Author: ![gjj](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/g/ee59a6/32.png) [@gjj](https://community.mp3tag.de/u/gjj)
#### Post date: [January 24, 2024, 8:01am UTC](https://community.mp3tag.de/t/cover-photo-is-in-the-folder-with-the-music-but-not-put-into-tag-structure/63537/7 "2024-01-24T08:01:19Z")

</div>

> [@gjj](#):
>
> hope

I got enough input in these answers to find a way, so thx a lot.

I have a .png and a .jpg file in many of the folders; the \*.png being the preferred one,

I made an action to "import" these first (as front cover); then a second action to import \*.jpg - but not overwriting existing front covers.  
Seems to be like 90% good - way better than I holed for.

The visual from another answer on "import cover from file": [https://content5-foto.inbox.lv/albums/i/i\_edgars/Dazadi/Cover-Art.jpg](https://content5-foto.inbox.lv/albums/i/i_edgars/Dazadi/Cover-Art.jpg) - also helped a newbee like me a lot.

---

<div class="post-metadata">

### Author: ![system](https://community.mp3tag.de/uploads/default/original/2X/c/ce7035d426cb755a7916793326d23b465222a407.png) [@system](https://community.mp3tag.de/u/system)
#### Post date: [February 23, 2024, 8:02am UTC](https://community.mp3tag.de/t/cover-photo-is-in-the-folder-with-the-music-but-not-put-into-tag-structure/63537/8 "2024-02-23T08:02:03Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
