Im sorry dentafrice nick beat you to it
http://www.hab-world.com/scripts/ava...1&type=profile
http://www.hab-world.com/scripts/avatar.php?id=1
Now that is quality![]()

Im sorry dentafrice nick beat you to it
http://www.hab-world.com/scripts/ava...1&type=profile
http://www.hab-world.com/scripts/avatar.php?id=1
Now that is quality![]()
I have already done both of those.. months ago..
OMG COOL!
Could you possibly make one for habbo.com.au?
If you can i'll rep ya lolz
Ver![]()
any way get bAck onto topic how to crop.....
Argh i'm sorry for the big bump, please don't close!
Did anyone ever find out how to crop and make the bg transperant????
So i need to know
Please don't close,
Ver.
P.S: Ew ignore my nooby comment above pls.
To make a certain color transparent you would first use the imagecolorallocate function then the imagecolortransparent.
eg
PHP Code:$white = imagecolorallocate($im, 255, 255, 255);
imagecolortransparent($im, $white);
“two players, two sides.
one is light, one is dark.”
- John Locke
Brought this code back to life.
view.php
habbo.phpCode:<html> <head> <title>What does your habbo look like?</title> </head> <body> <form method="post" action="habbo.php"> <strong>Habbo Imager</strong><br> Habbo Name: <input type="text" name="habboname" size="30" /> <br><input type="submit" value="View" /> </form> </body> </html>
This will also make the background transparentCode:<?php header("Content-type: image/gif"); $habbo = $habboname; $domain = 'http://www.habbo.co.uk'; $content = file_get_contents($domain . '/home/'.$habbo); $div_start = explode('<div class="profile-figure">', $content, 2); $div_end = explode('</div>', $div_start[1], 2); $img = trim($div_end[0]); $img = preg_replace('/<img alt=\"(.*?)\" src=\"(.*?)\" \/>/', '$2', $img); $imag = $domain.$img; $im = imagecreatefromgif($imag); $white = imagecolorallocate($im, 255, 255, 255); imagecolortransparent($im, $white); imagegif($im); imagedestroy($im); ?>
Drompo the code above grabs the one from the habbo home, it is already transparent.
Verrou is using the old Habbo Imager so he can have waving etc I think.
@Blob - Yes you could![]()
“two players, two sides.
one is light, one is dark.”
- John Locke
Awesome thanks! SO i got it transperant now how do i crop the image?
O_O
Soz im real noob at php
Want to hide these adverts? Register an account for free!