ImageWorth: Mix your songs with pictures

By | 2008-05-26

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!

14 thoughts on “ImageWorth: Mix your songs with pictures

  1. Rubén

    I just tried it. Really nice pictures, nice interface. Love it Julio 🙂

  2. Julio Post author

    Thanks.

    And now it also works on the evil browser (well, at least it works on IE6-Windows XP managed by VMware).

  3. gEEEERa

    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 😀

  4. Manu

    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?

  5. Julio Post author

    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…

  6. moonbless

    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.

  7. MJW

    Is there any way you could release the code for this so others could develop it? I would love to improve this.

  8. Matthew

    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

  9. Julio Post author

    No, there is too little space in the Last FM page to get a nice effect.

  10. Anna

    What if it was just a column with the images of the last song?
    And congrats on the great work.

  11. Julio Post author

    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.

Comments are closed.