Configure the object and run it:
<script type='text/javascript'>
jQuery(document).ready( function() {
var _config = {username: 'hondjevandirkie', // last.fm username
placeholder: 'lastfmrecords', // id of the div in HTML to use for cd covers
defaultthumb: './lastfm_logo.jpg', // image to show when no cd cover or artist image was found
period: 'lovedtracks', // which period/type of data do you want to show? you can choose from
// recenttracks, 7day, 3month, 6month, 12month, overall, topalbums and lovedtracks
count: 12, // number of images to show
refresh: 5, // when to get new data from last.fm (in minutes)
offset: 1 // difference between your timezone and GMT.
};
lastFmRecords.debug(); // log to console
lastFmRecords.init(_config);
});
<script>