# Discogs images

**URL:** https://community.mp3tag.de/t/discogs-images/15459
**Category:** Web Sources Discussion
**Created:** [February 3, 2014, 8:01am UTC](https://community.mp3tag.de/t/discogs-images/15459 "2014-02-03T08:01:29Z")
**Posts on this page:** 1
**Showing post:** 19

<div class="post-metadata">

### Author: ![mp3taglover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/7feea3/32.png) [@mp3taglover](https://community.mp3tag.de/u/mp3taglover)
#### Post date: [April 25, 2015, 1:12am UTC](https://community.mp3tag.de/t/discogs-images/15459/19 "2015-04-25T01:12:31Z")

</div>

json\_foreach function is buggy...

it simply goes through all elements of an array and copies into coverurl all image links instead of pasting just 1 and there is no way to stop it ..

need a function to break out the loop somehow..

OK, i've fixed this with a workaround for now, because json\_foreach function IS BUGGY atm..

here is a fix for coverurl (make sure you put this block of code before json "ON"! statement in the discogs.src and comment out other coverurl related block code):

```
outputto "coverurl"
findinline "\"images\": [{\"uri\": " 1 1
if "\""
    movechar 1
    sayuntil "\""
endif

```

this code just gets 1st full-size image for the release if it's there .. no type checking or anything

---

_[View the full topic](https://community.mp3tag.de/t/discogs-images/15459)._
