Last week I’ve been quite busy. I had a small project in mind. Briefly, the idea is to search pictures that match the songs you are listening to. And present them with some visual beauties.
I named this project as: ImageWorth, try it out!
It gets the “recent listened tracks” list from your Last.fm account, and for every song title it searches for pictures on Flickr. And uses Javascript with JQuery library to show them smoothly.
Regarding the inside: I strongly used Javascript for making it happen (I wanted to practice some js programming). There is a PHP part, which is basically a proxy to let AJAX call directly to Last.fm and Flickr, but it’s quite simple. The heavy work is done in the Javascript lines, which were quite interesting to develop. This time I used only Object-Oriented programming, and this leads to some (a priori) weird things in js. This language has its own way to work with objects, with a lot of flexibility, but this flexibility leads you to keep more things in mind. For example, when you want to bind a function (which is an object in js) to an even, without losing the reference to the original object (this) where you did the binding on. It’s not easy at first, but when you start to understand how it works, the beauty of closures and the incredible amount of possibilities it means… you start to love it.
By the way, any comment about ImageWorth? I hope you like it!
I just tried it. Really nice pictures, nice interface. Love it Julio 🙂
Thanks.
And now it also works on the evil browser (well, at least it works on IE6-Windows XP managed by VMware).
It is awesome!!! simply awesome!!! congratulations!!!
is there a way to put it on my last.fm profile, you know like the images run in the profile ?¿?¿
thanks 😀 what an aweeeeesome idea 😀
I’m going to think about it!
Thanks.
Hi!
That Image Worth is very cool… But, can’t I use it im my Last.fm profile or personal blog? It would be amazing. Please, can’t you develop this engine?
Actually I thought about it, but you need quite a lot of space to get a good effect, so it will not be suitable to create a small widget for your profile… I mean, imagine it with just one or two images… then it not make sense for me. But maybe you have a different opinion…
Image Worth is very nice. I think it is worth improving. Two suggestions. It should be able to automaticaly show pictures for the last entered last.fm profile in the same browser. I would set is as a homepage if it could. Secondly, it would realy be great if you could implement it in a mediaplayer as a plugin. maybe for foobar2000, songbird etc.
thanks anyway.
You can use the improved version to set the user, like this:
http://www.liopic.com/R+D/imageWorth/imageWorth.php?login=liopic
This will work for your idea of the homepage.
About the mediaplayer plugin, unluckiky I have little time to work on this…
Is there any way you could release the code for this so others could develop it? I would love to improve this.
Of course is not a problem, as far as you let me know your improvements 😉
Take it from:
http://www.liopic.com/R+D/imageWorth/imageWorth.zip
Notice that you have to get your own Flickr API key and edit the file imageWorth-data.php.
Hello!
I really really love this, it’s an amazing tool and gives a lot of inspiration to link images to music! Is it a possibility to put this on my Last FM page now?
Cheers
M
No, there is too little space in the Last FM page to get a nice effect.
What if it was just a column with the images of the last song?
And congrats on the great work.
Actually the only way to add this to your LastFM page is via an iframe, but LastFM filters out all HTML. Notice that there is no widget in LastFM profile pages that have animations… just static images.