# Automatically embed a image to all songs in a folder?

**URL:** https://community.mp3tag.de/t/automatically-embed-a-image-to-all-songs-in-a-folder/19632
**Category:** General Discussion
**Created:** [December 26, 2017, 4:38pm UTC](https://community.mp3tag.de/t/automatically-embed-a-image-to-all-songs-in-a-folder/19632 "2017-12-26T16:38:14Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![DBXenoVerse](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/e9c0ed/32.png) [@DBXenoVerse](https://community.mp3tag.de/u/DBXenoVerse)
#### Post date: [December 26, 2017, 4:38pm UTC](https://community.mp3tag.de/t/automatically-embed-a-image-to-all-songs-in-a-folder/19632/1 "2017-12-26T16:38:14Z")

</div>

Is this possible with MP3TAG

For Example I have two folders:  
Kura - Skank  
Hardwell - Spaceman  
they both have a cover art image in them but its not embedded into the mp3  
I want to automatically embed every image to every file in that respective folder?

---

<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: [December 26, 2017, 5:00pm UTC](https://community.mp3tag.de/t/automatically-embed-a-image-to-all-songs-in-a-folder/19632/2 "2017-12-26T17:00:57Z")

</div>

there is an action for that: Import cover from file.  
You can enter a string constant as filename like folder.jpg or cover.jpg or a string with wildcards like \*.jpg which takes the first picture file that is found.  
Or you enter a format string like %album%.jpg if the file is named like the album.

---

<div class="post-metadata">

### Author: ![DBXenoVerse](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/e9c0ed/32.png) [@DBXenoVerse](https://community.mp3tag.de/u/DBXenoVerse)
#### Post date: [December 27, 2017, 8:47am UTC](https://community.mp3tag.de/t/automatically-embed-a-image-to-all-songs-in-a-folder/19632/3 "2017-12-27T08:47:03Z")

</div>

I can't seem to find that action  
🙂

---

<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: [December 27, 2017, 8:56am UTC](https://community.mp3tag.de/t/automatically-embed-a-image-to-all-songs-in-a-folder/19632/4 "2017-12-27T08:56:03Z")

</div>

> [@DBXenoVerse](#):
>
> I can't seem to find that action  
> ...

See the FAQs on actions: [/t/967/1](https://community.mp3tag.de/t/967/1)

You have to create a new one.

---

<div class="post-metadata">

### Author: ![DBXenoVerse](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/e9c0ed/32.png) [@DBXenoVerse](https://community.mp3tag.de/u/DBXenoVerse)
#### Post date: [December 27, 2017, 2:59pm UTC](https://community.mp3tag.de/t/automatically-embed-a-image-to-all-songs-in-a-folder/19632/5 "2017-12-27T14:59:19Z")

</div>

> [@ohrenkino](#):
>
> See the FAQs on actions: [/t/967/1](https://community.mp3tag.de/t/967/1)
> 
> You have to create a new one.

I edited my original post, please read it 🙂

---

<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: [December 27, 2017, 3:16pm UTC](https://community.mp3tag.de/t/automatically-embed-a-image-to-all-songs-in-a-folder/19632/6 "2017-12-27T15:16:35Z")

</div>

> [@DBXenoVerse](#):
>
> ...  
> How is this possible i mean there were a lot of files with \*.jpg extension ?
> 
> Anyway, its so cool!!!!!! 🙂

If you use the wildcards then MP3tag uses the first picture that the OS returns. So it is a little random.  
Pictures are embedded for all the selected files, the search always starts in the directory of the current file.
