From a4b93c1f86374dd82f55f98eac15dbbd32939fbe Mon Sep 17 00:00:00 2001 From: MatMasIt Date: Sat, 28 Aug 2021 15:59:39 +0200 Subject: [PATCH] Added card marker --- src/gdImg/gd.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gdImg/gd.php b/src/gdImg/gd.php index 2ea8923..d021b21 100644 --- a/src/gdImg/gd.php +++ b/src/gdImg/gd.php @@ -106,6 +106,8 @@ list($width, $height) = getimagesize($userPhotoPath); $hw=500*$height/$width; if($hw>600){$hw=600;} 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"); $ho=$hc+floor(count($fln)/6+1)*100;