# Download & Embed Album Art from URL in Tag

**URL:** <https://community.mp3tag.de/t/download-embed-album-art-from-url-in-tag/51270>\
**Category:** Support\
**Created:** [December 20, 2020, 6:44am UTC](https://community.mp3tag.de/t/download-embed-album-art-from-url-in-tag/51270 "2020-12-20T06:44:18Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![taggert](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/96bed5/32.png) [@taggert](https://community.mp3tag.de/u/taggert)\
**Post date:** [December 20, 2020, 6:44am UTC](https://community.mp3tag.de/t/download-embed-album-art-from-url-in-tag/51270/1 "2020-12-20T06:44:18Z")

</div>

Over the years I have added the urls of my album art to a tag of the associated file. I didn't have a specific plan at the time but it seemed easy enough to do (automated in most cases). Years later a need emerges - I need to download and re-embed the album art of many files, due to a error I'd prefer not to relive in this message. Anyway, I assumed I would throw together a quick action:

- Check for my album art tag
- if found, download the art and embed it into the file

Pretty simple, right? Or so I thought. It seems there is no easy way to do this, at least one that I can find. Does anyone have any suggestions? It is worth noting that I have hundreds of file need updating so I would prefer a batch solution, if available.

Thanks.

---

<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 20, 2020, 9:38am UTC](https://community.mp3tag.de/t/download-embed-album-art-from-url-in-tag/51270/2 "2020-12-20T09:38:18Z")

</div>

You could add a Tool in File\>Options\>Tools  
that opens your web browser with url as parameter.  
You would have to download and save the picture, though.

---

<div class="post-metadata">

**Author:** ![dano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dano/32/6_2.png) [@dano](https://community.mp3tag.de/u/dano)\
**Post date:** [December 20, 2020, 1:49pm UTC](https://community.mp3tag.de/t/download-embed-album-art-from-url-in-tag/51270/3 "2020-12-20T13:49:03Z")

</div>

You can use the Export function to create a batch file that downloads all images (with curl or wget) and then use Mp3tag action to embedd the images.

---

<div class="post-metadata">

**Author:** ![taggert](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/96bed5/32.png) [@taggert](https://community.mp3tag.de/u/taggert)\
**Post date:** [December 20, 2020, 2:21pm UTC](https://community.mp3tag.de/t/download-embed-album-art-from-url-in-tag/51270/4 "2020-12-20T14:21:57Z")

</div>

Thanks dano! I've not used export before. Would you be able to point me to an similar example? I am not sure how to isolate the tag(s) and generate a consolidated batch file.

---

<div class="post-metadata">

**Author:** ![taggert](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/96bed5/32.png) [@taggert](https://community.mp3tag.de/u/taggert)\
**Post date:** [December 20, 2020, 2:41pm UTC](https://community.mp3tag.de/t/download-embed-album-art-from-url-in-tag/51270/5 "2020-12-20T14:41:10Z")

</div>

Thanks ohrenkino. This (manual downloads) is the process I am trying to avoid. That said, if I could figure out a way to batch download (similar to an export cover art) using an external tool I could easily write an import action... You've got me thinking...

---

<div class="post-metadata">

**Author:** ![dano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dano/32/6_2.png) [@dano](https://community.mp3tag.de/u/dano)\
**Post date:** [December 20, 2020, 3:00pm UTC](https://community.mp3tag.de/t/download-embed-album-art-from-url-in-tag/51270/6 "2020-12-20T15:00:09Z")

</div>

Export example, asuming you want to download 1 cover per folder and %coverurl% is the tag field with the url.

```
$filename(Download cover images.bat,ansi)set wget=ENTER PATH TO WGET.EXE HERE
$loop(%_folderpath%,1)PUSHD "%_folderpath%"
$if(%coverurl%,'%wget%' %coverurl%,)
$loopend()
```

---

<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:** [January 19, 2021, 3:00pm UTC](https://community.mp3tag.de/t/download-embed-album-art-from-url-in-tag/51270/7 "2021-01-19T15:00:11Z")

</div>

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