• Welcome to Smashboards, the world's largest Super Smash Brothers community! Over 250,000 Smash Bros. fans from around the world have come to discuss these great games in over 19 million posts!

    You are currently viewing our boards as a visitor. Click here to sign up right now and start on your path in the Smash community!

Cropping an image using HTML/PHP

SpiderMad

Smash Master
Joined
May 6, 2012
Messages
4,968
Apparently there's a code button, is that only for displaying code?

Anyways, by linking this image that's essentially a php or something "http://primusgamer.com/twitch/?u=dazee_" you can display your stream (you insert your name at the end) and it will display online if you're online.

anyways for my own signature, I want to crop the image using the "code" button button we have and using HTML/PHP to crop it to the point only the end part with the "offline/online" part displaying. Then I'll be able to have that at the end of my own stream picture.



Otherwise if that's not possible, would anyone know how to take a hold of the "twitch API" to do the same thing this guys site does but for my own site and thus enable my own picture to be used rather than that gray background.

Here's stuff about the Twitch API
https://github.com/justintv/Twitch-API/blob/master/README.md

I've had my own websites hosted before on co.cc that was able to host practically all I wanted, I would make another if the coding of my own thing like PrimusGamer did wasn't that hard (I'd have to install the Java runtime and use Eclipse or w/e)
http://support.twitch.tv/discussion/7785/can-i-use-the-twitch-api-in-java
Idk what this guy is saying
 
Top Bottom