Added card marker

This commit is contained in:
Mattia Mascarello 2021-08-28 15:59:39 +02:00 committed by GitHub
parent 63a4064296
commit a4b93c1f86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -107,6 +107,8 @@ $hw=500*$height/$width;
if($hw>600){$hw=600;} if($hw>600){$hw=600;}
imagecopyresized($jpg_image, $photo, 10, 100, 0, 0, 500, $hw, $width, $height); imagecopyresized($jpg_image, $photo, 10, 100, 0, 0, 500, $hw, $width, $height);
imagettftext($jpg_image, 26, 0, 10, 100+$height+10, $white, $font_path, $u->getId()."/".time()."/".$chat_id."/".$GLOBALS["config"]["lgbt"]["version"]);
list($wc, $hc) = getimagesize("gdImg/cid.png"); list($wc, $hc) = getimagesize("gdImg/cid.png");
$ho=$hc+floor(count($fln)/6+1)*100; $ho=$hc+floor(count($fln)/6+1)*100;
$image_out = imagecreatetruecolor($wc,$ho); $image_out = imagecreatetruecolor($wc,$ho);