Last.fm doesn’t do SSL for image charts…

So to get the recently listened to image on the right bar to not trigger an insecure content warning I’m pulling the image from last.fm via a cronjob running once every 15 minutes (just to be nice and not grab the image too often) to curl the image, and making it serve locally.
tl;dr

For that chart, I do:

curl -s http://imagegen.last.fm/Sisters/recenttracks/8/RobbieCrash.gif > /local/path/to/file.gif

There’s a bunch of other chart options as well. You can find all the other options by going to this page and fucking around with what you want.