iTunes Artwork Finder
JavaScript PHP

iTunes Artwork Finder

This is the JavaScript and PHP code that powers the iTunes Artwork Finder available at

To use on your own site, simply upload both the JavaScript and PHP files and then initialise the script with something like:

        <h3>iTunes Artwork Finder</h3>
        <form action="" method="get" accept-charset="utf-8" id="iTunesSearch">
            <select name="entity" id="entity">
                <option value="tvSeason">TV Show</option>
                <option value="movie">Movie</option>
                <option value="ebook">iBook</option>
                <option value="album">Album</option>
                <option value="software">App</option>
                <option value="audiobook">Audiobook</option>
                <option value="podcast">Podcast</option>
                <option value="musicVideo">Music Video (may not work)</option>
                <option value="id">Apple ID (Movie)</option>
                <option value="idAlbum">Apple ID (Album)</option>
                <option value="shortFilm">Short Film</option>
            <input type="text" class="text" name="query" id="query" />
            <select name="country" id="country">
                <option value='us'>United States of America</option>
                <option value='gb'>United Kingdom</option>
                <option value=''>---</option>
            <input type="submit" class="submit" value="Get the artwork" />

    <div id="results">


<script src=""></script>
<script src="itunes.js"></script>