External stored images

0
Hello!

I made a php-script which imports data from last.fm to the music collection tables. My only problem is, that the pictures are external stores. So in the column "pictures" in the artist-datatable stands for example "http://userserve-ak.last.fm/serve/500/30512443/Filter++photo.jpg"

How can I made it possible that that image is used in the Artist-View?

Thanks a lot :)
Responses (2)
  • Accepted Answer

    greengeek
    greengeek
    Offline
    Friday, December 10 2010, 07:22 AM - #Permalink
    0
    Usually it is frowned on to direct link images from other sites. I was thinking bout doing something similar to this where I would grab the info from last.fm. Last.fm has an awesome API that can be used for this located at http://www.last.fm/api Wouldn't be to hard to grab the images and save it to your MC images folder using something like the curl function in php and their api.
    The reply is currently minimized Show
  • Accepted Answer

    Friday, December 10 2010, 07:43 AM - #Permalink
    0
    Okay but the Problem is, that I need a very big space on my webserver.. I thought it must be pussible be linking the image external..
    The reply is currently minimized Show
Your Reply