PNG now-playing

Talk about whatever.
Post Reply
Kane
Posts: 13
Joined: Sat Jan 18, 2003 6:37 pm
Location: Keflavík - Iceland
Contact:

PNG now-playing

Post by Kane »

Hey, 1 question;

How do youa make an now playing thingy on the website with .png images ? I mean, can't be that you do something like put in your playing stats site:

Code: Select all

if( $current_song = 'Artist - Title' )
echo '<img src="arts_title.png>"';
and then do this to all the songs in the playlist.... that's an odd situation for a huge playlist like mine, 3000 songs :/
So, how do you do it ??
Kane
Posts: 13
Joined: Sat Jan 18, 2003 6:37 pm
Location: Keflavík - Iceland
Contact:

Post by Kane »

Ok, nevermind the above msg. Now I have a problem, I took some time and browsed these forums and found that the answer was right infront of my nose the whole time. Now just one problem: i found out on www.php.net that I need this GD, I downloaded GD from it's website and then I found out I need Linux or some sort of other OS than Windows. Is there a Windows version ?
User avatar
Jay
Will work for food (Administrator)
Posts: 3020
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Post by Jay »

well all that you have to do is compile PHP with the GD Library.

I am not sure how to do this with windows as I only use *nix for my hosting needs.

There could be alternative ways to do it, though ASP maybe or using some other Image creation scheme in PHP, not sure.
- Jay
Post Reply