Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //code starts with this
- $game0 = $GamerCard->Gamesimg[0];
- $game0 = imageCreateFromjpeg($game0);
- //and here i place the image, though x changes each time
- $width = imagesx($game0);
- $height = imagesy($game0);
- imagecopyresampled($gcard, $game0, 21, 10, 0, 0, 32, 32, $width, $height);
- imagedestroy($game0);
Add Comment
Please, Sign In to add comment