sjuhawk31 Posted April 7, 2006 Share Posted April 7, 2006 Hey, folks. I don't know if anyone is familiar with the RPI generator that people use with last.fm. I've been able to go into the script that people have created as templates and customize it a little bit, but I'm stuck on two things. The first is that I want to limit the chart width to 160 px, because I want to put it into my LiveJournal sidebar. The second is that I want the song name to wrap into a second line if it would excede 160 px, instead of just being cut off. I have a request for this in at the forum where I got the code, but I hoped some outsiders would be able to get a better look at it.Here's the image that gets generated, for reference.[a href=\"http://jefmar21.coolinc.info/rpi/\" target=\"_blank\"]http://jefmar21.coolinc.info/rpi/[/a]..and here's links to the code that builds it.[a href=\"http://jefmar21.coolinc.info/rpi/index.txt\" target=\"_blank\"]http://jefmar21.coolinc.info/rpi/index.txt[/a][a href=\"http://jefmar21.coolinc.info/rpi/rpi.txt\" target=\"_blank\"]http://jefmar21.coolinc.info/rpi/rpi.txt[/a][a href=\"http://jefmar21.coolinc.info/rpi/sig.txt\" target=\"_blank\"]http://jefmar21.coolinc.info/rpi/sig.txt[/a]Thanks if you can help. I'm a real n00b at php, so I'm clueless Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.