http://iat.evenhosting.com/profile/katie.pricejorda
It's all bodged up and weird mine is, typical it's always me!
Printable View
http://iat.evenhosting.com/profile/katie.pricejorda
It's all bodged up and weird mine is, typical it's always me!
No it isnt, I was adding the border :0
Yes it will, mine works and my habbo name is -1.
*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*
Ill look for that in a bit :)
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.