It's all bodged up and weird mine is, typical it's always me!

It's all bodged up and weird mine is, typical it's always me!
No it isnt, I was adding the border :0
“two players, two sides.
one is light, one is dark.”
- John Locke
Yes it will, mine works and my habbo name is -1.
“two players, two sides.
one is light, one is dark.”
- John Locke
*claps and snaps for Tom* Is there some way of using php to turn the habbo so it's facing -> That way, i think it'll look better.
V cool code *thumbs up*
Last edited by Verrou; 08-02-2007 at 03:54 AM.
Ill look for that in a bit![]()
“two players, two sides.
one is light, one is dark.”
- John Locke
Lol i got it on my site. Works. Thanks tom.
Lol ill have to enable mod rewrite. Do that later.
Tom i found this:
The bottom one flips it horizontally. Duh. Can you encorperate it into the code?PHP Code:<?php
function flipVertical(&$img) {
$size_x = imagesx($img);
$size_y = imagesy($img);
$temp = imagecreatetruecolor($size_x, $size_y);
$x = imagecopyresampled($temp, $img, 0, 0, 0, ($size_y-1), $size_x, $size_y, $size_x, 0-$size_y);
if ($x) {
$img = $temp;
}
else {
die("Unable to flip image");
}
}
function flipHorizontal(&$img) {
$size_x = imagesx($img);
$size_y = imagesy($img);
$temp = imagecreatetruecolor($size_x, $size_y);
$x = imagecopyresampled($temp, $img, 0, 0, ($size_x-1), 0, $size_x, $size_y, 0-$size_x, $size_y);
if ($x) {
$img = $temp;
}
else {
die("Unable to flip image");
}
}
$myimage = imagecreatefromjpeg("psclogo.jpg");
flipHorizontal($myimage);
header("Content-type: image/jpeg");
imagejpeg($myimage);
?>
I have tried this before I think. Ill try it again later.
“two players, two sides.
one is light, one is dark.”
- John Locke
Want to hide these adverts? Register an account for free!